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
- Enclosing class:
- Definer
public static class Definer.OnError extends EnumeratedAttribute
Enumerated type for onError attribute
- See Also:
EnumeratedAttribute
-
Field Summary
Fields Modifier and Type Field Description static int
FAIL
Enumerated valuesstatic int
FAIL_ALL
Enumerated valuesstatic int
IGNORE
Enumerated valuesstatic java.lang.String
POLICY_FAIL
text value of onerror option "fail"static java.lang.String
POLICY_FAILALL
text value of onerror option "failall"static java.lang.String
POLICY_IGNORE
text value of onerror option "ignore"static java.lang.String
POLICY_REPORT
text value of onerror option "report"static int
REPORT
Enumerated values -
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.lang.String[]
getValues()
get the valuesMethods 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:
- Constant Field Values
-
REPORT
public static final int REPORTEnumerated values- See Also:
- Constant Field Values
-
IGNORE
public static final int IGNOREEnumerated values- See Also:
- Constant Field Values
-
FAIL_ALL
public static final int FAIL_ALLEnumerated values- See Also:
- Constant Field Values
-
POLICY_FAIL
public static final java.lang.String POLICY_FAILtext value of onerror option "fail"- See Also:
- Constant Field Values
-
POLICY_REPORT
public static final java.lang.String POLICY_REPORTtext value of onerror option "report"- See Also:
- Constant Field Values
-
POLICY_IGNORE
public static final java.lang.String POLICY_IGNOREtext value of onerror option "ignore"- See Also:
- Constant Field Values
-
POLICY_FAILALL
public static final java.lang.String POLICY_FAILALLtext value of onerror option "failall"- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getValues
public java.lang.String[] getValues()get the values- Specified by:
getValues
in classEnumeratedAttribute
- Returns:
- an array of the allowed values for this attribute.
-