Class LibraryInventory.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • staticallyDetectedLibraryCount

        public LibraryInventory.Builder staticallyDetectedLibraryCount​(Integer staticallyDetectedLibraryCount)
        The count of libraries which are detected statically.
        Parameters:
        staticallyDetectedLibraryCount - the value to set
        Returns:
        this builder
      • dynamicallyDetectedLibraryCount

        public LibraryInventory.Builder dynamicallyDetectedLibraryCount​(Integer dynamicallyDetectedLibraryCount)
        The count of libraries which are detected dynamically.
        Parameters:
        dynamicallyDetectedLibraryCount - the value to set
        Returns:
        this builder
      • uncorrelatedPackageCount

        public LibraryInventory.Builder uncorrelatedPackageCount​(Integer uncorrelatedPackageCount)
        The count of packages which are detected but not correlated to any libraries.
        Parameters:
        uncorrelatedPackageCount - the value to set
        Returns:
        this builder
      • highSeverityLibraryCount

        public LibraryInventory.Builder highSeverityLibraryCount​(Integer highSeverityLibraryCount)
        The count of libraries with high severity vulnerabilities.
        Parameters:
        highSeverityLibraryCount - the value to set
        Returns:
        this builder
      • mediumSeverityLibraryCount

        public LibraryInventory.Builder mediumSeverityLibraryCount​(Integer mediumSeverityLibraryCount)
        The count of libraries with medium severity vulnerabilities.
        Parameters:
        mediumSeverityLibraryCount - the value to set
        Returns:
        this builder
      • lowSeverityLibraryCount

        public LibraryInventory.Builder lowSeverityLibraryCount​(Integer lowSeverityLibraryCount)
        The count of libraries with low severity vulnerabilities.
        Parameters:
        lowSeverityLibraryCount - the value to set
        Returns:
        this builder