Klasse Organization

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.ant.cyclonedx.Organization
Alle implementierten Schnittstellen:
Cloneable

public class Organization extends org.apache.tools.ant.types.DataType
Organization appears as "manufacturer" or "supplier" of components or the SBOM itself.

The CycloneDX specification supports more information for an organization than this type currently exposes.

This class is a type exposed by this Ant Library. When using the inherited refid attribute it can reference an instance defined previously - in which case no child elements or other attributes are allowed.

  • Feldübersicht

    Von Klasse geerbte Felder org.apache.tools.ant.types.DataType

    checked, ref

    Von Klasse geerbte Felder org.apache.tools.ant.ProjectComponent

    description, location, project
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    void
    addConfiguredUrl(org.apache.tools.ant.types.resources.URLResource url)
    Adds an url of the organization.
    protected Organization
    Perform the check for circular references and return the referenced Organization.
    void
    Sets the name of the organization.
    org.cyclonedx.model.OrganizationalEntity
    Translates this organisation to its CycloneDX counterpart.

    Von Klasse geerbte Methoden org.apache.tools.ant.types.DataType

    checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString

    Von Klasse geerbte Methoden org.apache.tools.ant.ProjectComponent

    getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject

    Von Klasse geerbte Methoden Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Konstruktordetails

    • Organization

      public Organization()
  • Methodendetails

    • setName

      public void setName(String name)
      Sets the name of the organization.
      Parameter:
      name - organization name
    • addConfiguredUrl

      public void addConfiguredUrl(org.apache.tools.ant.types.resources.URLResource url)
      Adds an url of the organization.
      Parameter:
      url - organization URI
    • toOrganizationalEntity

      public org.cyclonedx.model.OrganizationalEntity toOrganizationalEntity()
      Translates this organisation to its CycloneDX counterpart.
      Gibt zurück:
      the CycloneDX version of this instance.
    • getRef

      protected Organization getRef()
      Perform the check for circular references and return the referenced Organization.
      Gibt zurück:
      Organization.