java.lang.Object
org.kohsuke.github.GHSBOM.Package
- Enclosing class:
- GHSBOM
Represents a package in the SBOM.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the copyright text.Gets the download location.Gets the external references.Gets the concluded license.Gets the declared license.getName()Gets the package name.Gets the SPDX identifier.Gets the supplier.Gets the version info.booleanReturns whether files were analyzed.
-
Constructor Details
-
Package
public Package()Create default Package instance.
-
-
Method Details
-
getCopyrightText
Gets the copyright text.- Returns:
- the copyright text, or null if not specified
-
getDownloadLocation
Gets the download location.- Returns:
- the download location
-
getExternalRefs
Gets the external references.- Returns:
- the external references
-
getLicenseConcluded
Gets the concluded license.- Returns:
- the concluded license, or null if not specified
-
getLicenseDeclared
Gets the declared license.- Returns:
- the declared license, or null if not specified
-
getName
Gets the package name.- Returns:
- the package name
-
getSPDXID
Gets the SPDX identifier.- Returns:
- the SPDX identifier
-
getSupplier
Gets the supplier.- Returns:
- the supplier, or null if not specified
-
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
-