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 Summary
-
Constructor Summary
Constructors Constructor Description LogLevel()
Public constructor. -
Method Summary
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
-
Field Details
-
Constructor Details
-
LogLevel
public LogLevel()Public constructor.
-
-
Method Details
-
getValues
public java.lang.String[] getValues()Description copied from class:EnumeratedAttribute
This is the only method a subclass needs to implement.- Specified by:
getValues
in classEnumeratedAttribute
- Returns:
- the strings allowed for the level attribute
- See Also:
EnumeratedAttribute.getValues()
-
getLevel
public int getLevel()get the level of the echo of the current value- Returns:
- the level
-