Class GHSBOM.Package

java.lang.Object
org.kohsuke.github.GHSBOM.Package
Enclosing class:
GHSBOM

public static class GHSBOM.Package extends Object
Represents a package in the SBOM.
  • Constructor Details

    • Package

      public Package()
      Create default Package instance.
  • Method Details

    • getCopyrightText

      @CheckForNull public String getCopyrightText()
      Gets the copyright text.
      Returns:
      the copyright text, or null if not specified
    • getDownloadLocation

      public String getDownloadLocation()
      Gets the download location.
      Returns:
      the download location
    • getExternalRefs

      public List<GHSBOM.ExternalRef> getExternalRefs()
      Gets the external references.
      Returns:
      the external references
    • getLicenseConcluded

      @CheckForNull public String getLicenseConcluded()
      Gets the concluded license.
      Returns:
      the concluded license, or null if not specified
    • getLicenseDeclared

      @CheckForNull public String getLicenseDeclared()
      Gets the declared license.
      Returns:
      the declared license, or null if not specified
    • getName

      public String getName()
      Gets the package name.
      Returns:
      the package name
    • getSPDXID

      public String getSPDXID()
      Gets the SPDX identifier.
      Returns:
      the SPDX identifier
    • getSupplier

      @CheckForNull public String getSupplier()
      Gets the supplier.
      Returns:
      the supplier, or null if not specified
    • getVersionInfo

      @CheckForNull public String getVersionInfo()
      Gets the version info.
      Returns:
      the version info, or null if not specified
    • isFilesAnalyzed

      public boolean isFilesAnalyzed()
      Returns whether files were analyzed.
      Returns:
      true if files were analyzed