Class JUnitTask.SummaryAttribute
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.SummaryAttribute
- Enclosing class:
- JUnitTask
public static class JUnitTask.SummaryAttribute extends EnumeratedAttribute
Print summary enumeration values.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SummaryAttribute()
-
Method Summary
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
-
Constructor Details
-
SummaryAttribute
public SummaryAttribute()
-
-
Method Details
-
getValues
public java.lang.String[] getValues()list the possible values- Specified by:
getValues
in classEnumeratedAttribute
- Returns:
- array of allowed values
-
asBoolean
public boolean asBoolean()gives the boolean equivalent of the authorized values- Returns:
- boolean equivalent of the value
-