org.apache.tools.ant.taskdefs.optional.extension
Class ExtensionSet
- Cloneable
public class ExtensionSet
The Extension set lists a set of "Optional Packages" /
"Extensions".
checkAttributesAllowed , checkChildrenAllowed , circularReference , clone , dieOnCircularReference , dieOnCircularReference , dieOnCircularReference , getCheckedRef , getCheckedRef , getCheckedRef , getCheckedRef , getDataTypeName , getRefid , invokeCircularReferenceCheck , isChecked , isReference , noChildrenAllowed , setChecked , setRefid , toString , tooManyAttributes |
addExtension
public void addExtension(ExtensionAdapter extensionAdapter)
Adds an extension that this library requires.
extensionAdapter
- an extension that this library requires.
addFileset
public void addFileset(FileSet fileSet)
Adds a set of files about which extensions data will be extracted.
fileSet
- a set of files about which extensions data will be extracted.
addLibfileset
public void addLibfileset(LibFileSet fileSet)
Adds a set of files about which extensions data will be extracted.
fileSet
- a set of files about which extensions data will be extracted.
setRefid
public void setRefid(Reference reference)
throws BuildException
Makes this instance in effect a reference to another ExtensionSet
instance.
You must not set another attribute or nest elements inside
this element if you make it a reference.
- setRefid in interface DataType
reference
- the reference to which this instance is associated
toExtensions
public Extension[] toExtensions(Project proj)
throws BuildException
Extract a set of Extension objects from the ExtensionSet.
proj
- the project instance.
- an array containing the Extensions from this set
toString
public String toString()
- toString in interface DataType
- the extensions in a string.
java.lang.Object.toString()