Package org.apache.tools.ant.taskdefs
Class Definer.OnError
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.Definer.OnError
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Enumerated valuesstatic final int
Enumerated valuesstatic final int
Enumerated valuesstatic final String
text value of onerror option "fail"static final String
text value of onerror option "failall"static final String
text value of onerror option "ignore"static final String
text value of onerror option "report"static final int
Enumerated valuesFields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
-
Field Details
-
FAIL
public static final int FAILEnumerated values- See Also:
-
REPORT
public static final int REPORTEnumerated values- See Also:
-
IGNORE
public static final int IGNOREEnumerated values- See Also:
-
FAIL_ALL
public static final int FAIL_ALLEnumerated values- See Also:
-
POLICY_FAIL
-
POLICY_REPORT
-
POLICY_IGNORE
-
POLICY_FAILALL
-
-
Constructor Details
-
OnError
public OnError()Constructor -
OnError
Constructor using a string.- Parameters:
value
- the value of the attribute
-
-
Method Details
-
getValues
get the values- Specified by:
getValues
in classEnumeratedAttribute
- Returns:
- an array of the allowed values for this attribute.
-