java.lang.Object
org.kohsuke.github.GHSBOM.ExternalRef
- Enclosing class:
- GHSBOM
Represents an external reference for a package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the reference category.Gets the reference locator.Gets the reference type.
-
Constructor Details
-
ExternalRef
public ExternalRef()Create default ExternalRef instance.
-
-
Method Details
-
getReferenceCategory
Gets the reference category.- Returns:
- the reference category (e.g., "PACKAGE-MANAGER")
-
getReferenceLocator
Gets the reference locator.- Returns:
- the reference locator in PURL format
-
getReferenceType
Gets the reference type.- Returns:
- the reference type (e.g., "purl")
-