org.apache.tools.ant.taskdefs.optional.extension
Class ExtensionSet
public class ExtensionSet
The Extension set lists a set of "Optional Packages" /
"Extensions".
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, 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 project)
throws BuildException Extract a set of Extension objects from the ExtensionSet.
project - the project instance.
- an array containing the Extensions from this set
toString
public String toString()
java.lang.Object.toString()
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.