org.apache.anteater.test.meta
Class Feature
java.lang.Object
|
+--org.apache.anteater.test.meta.Feature
- public class Feature
- extends Object
Class representing an Anteater feature; either some aspect of Anteater
itself (eg version) or an 'optional' feature.
For maximum generality, a feature is just a name:value pair, where the value
is optional.
- Version:
- $Revision: 1.2 $ $Date: 2002/10/17 10:21:15 $
- Author:
- Jeff Turner
name
protected String name
value
protected String value
Feature
public Feature()
Feature
public Feature(String name)
Feature
public Feature(String name,
String value)
setName
public void setName(String name)
- Set feature name, eg 'jelly' .
getName
public String getName()
- Returns:
- Feature name.
setValue
public void setValue(String value)
- Set feature value, eg '1.2.3' .
getValue
public String getValue()
- Returns:
- Feature value.
toString
public String toString()
- String representation of the feature.
- Overrides:
toString
in class Object
- Returns:
- Either 'name' or 'name = value'
Ant Functional Tester -- see Project home page for details