org.apache.tools.ant.taskdefs

Class Definer.OnError

Enclosing Class:
Definer

public static class Definer.OnError
extends EnumeratedAttribute

Enumerated type for onError attribute

See Also:
EnumeratedAttribute

Field Summary

static int
FAIL
Enumerated values
static int
IGNORE
Enumerated values
static int
REPORT
Enumerated values

Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute

value

Constructor Summary

OnError()
Constructor
OnError(String value)
Constructor using a string.

Method Summary

String[]
getValues()
get the values

Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute

containsValue, getIndex, getValue, getValues, indexOfValue, setValue, toString

Field Details

FAIL

public static final int FAIL
Enumerated values

Field Value:
0


IGNORE

public static final int IGNORE
Enumerated values

Field Value:
2


REPORT

public static final int REPORT
Enumerated values

Field Value:
1

Constructor Details

OnError

public OnError()
Constructor


OnError

public OnError(String value)
Constructor using a string.

Parameters:
value - the value of the attribute

Method Details

getValues

public String[] getValues()
get the values
Overrides:
getValues in interface EnumeratedAttribute

Returns:
an array of the allowed values for this attribute.


Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.