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
 
 public class LogLevel extends EnumeratedAttribute The enumerated values for Ant's log level.
- 
- 
Field SummaryFields Modifier and Type Field Description static LogLevelDEBUGDEBUG loglevel constant.static LogLevelERRERR loglevel constant.static LogLevelINFOINFO loglevel constant.static LogLevelVERBOSEVERBOSE loglevel constant.static LogLevelWARNWARN loglevel constant.- 
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
 
- 
 - 
Constructor SummaryConstructors Constructor Description LogLevel()Public constructor.
 - 
Method Summary- 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
 
- 
 
- 
- 
- 
Field Detail- 
ERRpublic static final LogLevel ERR ERR loglevel constant.
 - 
WARNpublic static final LogLevel WARN WARN loglevel constant.
 - 
INFOpublic static final LogLevel INFO INFO loglevel constant.
 - 
VERBOSEpublic static final LogLevel VERBOSE VERBOSE loglevel constant.
 - 
DEBUGpublic static final LogLevel DEBUG DEBUG loglevel constant.
 
- 
 - 
Method Detail- 
getValuespublic java.lang.String[] getValues() Description copied from class:EnumeratedAttributeThis is the only method a subclass needs to implement.- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- the strings allowed for the level attribute
- See Also:
- EnumeratedAttribute.getValues()
 
 - 
getLevelpublic int getLevel() get the level of the echo of the current value- Returns:
- the level
 
 
- 
 
-