Klasse Component.Dependency

java.lang.Object
org.apache.ant.cyclonedx.Component.Dependency
Umschließende Klasse:
Component

public static class Component.Dependency extends Object
Represents a dependency of a component.
  • Konstruktordetails

    • Dependency

      public Dependency()
  • Methodendetails

    • setBomRef

      public void setBomRef(String bomRef)
      Identifies the dependency by its bom-ref.
      Parameter:
      bomRef - dependency's bom-ref
    • setComponentRef

      public void setComponentRef(org.apache.tools.ant.types.Reference componentRef)
      Identifies the dependency by its Ant id attribute.
      Parameter:
      componentRef - reference to component that constitutes the dependency
    • getBomRef

      public String getBomRef()
      Looks up the bom-ref of the dependency.
      Gibt zurück:
      bom-ref of the dependency.