Package org.apache.ant.cyclonedx
Class PropertySet
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.types.DataType
-
- org.apache.ant.cyclonedx.PropertySet
-
- All Implemented Interfaces:
java.lang.Cloneable
public class PropertySet extends org.apache.tools.ant.types.DataTypeA container for a collection ofPropertys.This class is a type exposed by this Ant Library. When using the inherited
refidattribute it can reference an instance defined previously - in which case no child elements are allowed.- Since:
- CycloneDX Antlib 0.2
-
-
Constructor Summary
Constructors Constructor Description PropertySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfiguredProperty(org.cyclonedx.model.Property property)Adds a property to the set.java.util.Collection<org.cyclonedx.model.Property>getProperties()Return the external references contained in this set.protected PropertySetgetRef()Perform the check for circular references and return the referenced PropertySet.-
Methods inherited from class 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
-
-
-
-
Method Detail
-
addConfiguredProperty
public void addConfiguredProperty(org.cyclonedx.model.Property property)
Adds a property to the set.- Parameters:
property- set property
-
getProperties
public java.util.Collection<org.cyclonedx.model.Property> getProperties()
Return the external references contained in this set.- Returns:
- external references contained in this set
-
getRef
protected PropertySet getRef()
Perform the check for circular references and return the referenced PropertySet.- Returns:
PropertySet.
-
-