org.apache.anteater.test.meta
Class Uses
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.types.DataType
|
+--org.apache.anteater.test.BaseDataType
|
+--org.apache.anteater.test.meta.Uses
- All Implemented Interfaces:
- Groupable
- public class Uses
- extends BaseDataType
Collects a set of Feature
s needed by a script.
- Version:
- $Revision: 1.2 $ $Date: 2002/10/17 10:21:15 $
- Author:
- Jeff Turner
Fields inherited from class org.apache.tools.ant.types.DataType |
checked, description, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary |
Uses()
|
Methods inherited from class org.apache.tools.ant.types.DataType |
circularReference, dieOnCircularReference, getCheckedRef, getDescription, isReference, noChildrenAllowed, setDescription, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reqFeatures
protected List reqFeatures
- A List of
Feature
s this uses tag specifies.
Uses
public Uses()
setVersion
public void setVersion(String version)
- Set the version that the script is written for.
For example, '1' means 'all 1.x.x-compatible versions'.
addFeature
public void addFeature(Feature f)
- Add a <feature> child element.
getFeatures
public List getFeatures()
- Returns a List of
Feature
s that this Uses tag specifies.
setGroup
public void setGroup(String group)
- Description copied from class:
BaseDataType
- Sets the group that this task belongs to.
- Specified by:
setGroup
in interface Groupable
- Overrides:
setGroup
in class BaseDataType
- Parameters:
group
- String id of an existing group.
setGroup
public void setGroup(Group group)
- Description copied from class:
BaseDataType
- Sets the group that this task belongs to.
- Specified by:
setGroup
in interface Groupable
- Overrides:
setGroup
in class BaseDataType
- Parameters:
group
- Group object to add this task to.
Ant Functional Tester -- see Project home page for details