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, refVon Klasse geerbte Felder org.apache.tools.ant.ProjectComponent
description, location, project -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidaddConfiguredUrl(org.apache.tools.ant.types.resources.URLResource url) Adds an url of the organization.protected OrganizationgetRef()Perform the check for circular references and return the referenced Organization.voidSets the name of the organization.org.cyclonedx.model.OrganizationalEntityTranslates 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, toStringVon Klasse geerbte Methoden org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Konstruktordetails
-
Organization
public Organization()
-
-
Methodendetails
-
setName
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
Perform the check for circular references and return the referenced Organization.- Gibt zurück:
Organization.
-