java.lang.Object
org.kohsuke.github.GHSBOM.Relationship
- Enclosing class:
- GHSBOM
Represents a relationship between SPDX elements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the related SPDX element.Gets the relationship type.Gets the SPDX element ID.
-
Constructor Details
-
Relationship
public Relationship()Create default Relationship instance.
-
-
Method Details
-
getRelatedSpdxElement
Gets the related SPDX element.- Returns:
- the related SPDX element ID
-
getRelationshipType
Gets the relationship type.- Returns:
- the relationship type (e.g., "DEPENDS_ON")
-
getSpdxElementId
Gets the SPDX element ID.- Returns:
- the SPDX element ID
-