Package org.apache.tools.ant.types
Class LogLevel
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.types.LogLevel
- Direct Known Subclasses:
Echo.EchoLevel,Recorder.VerbosityLevelChoices
The enumerated values for Ant's log level.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LogLevelDEBUG loglevel constant.static final LogLevelERR loglevel constant.static final LogLevelINFO loglevel constant.static final LogLevelVERBOSE loglevel constant.static final LogLevelWARN loglevel constant.Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
-
Field Details
-
ERR
ERR loglevel constant. -
WARN
WARN loglevel constant. -
INFO
INFO loglevel constant. -
VERBOSE
VERBOSE loglevel constant. -
DEBUG
DEBUG loglevel constant.
-
-
Constructor Details
-
LogLevel
public LogLevel()Public constructor.
-
-
Method Details
-
getValues
Description copied from class:EnumeratedAttributeThis is the only method a subclass needs to implement.- Specified by:
getValuesin classEnumeratedAttribute- Returns:
- the strings allowed for the level attribute
- See Also:
-
getLevel
public int getLevel()get the level of the echo of the current value- Returns:
- the level
-