org.apache.tools.ant.types

Class LogLevel

Known Direct Subclasses:
Echo.EchoLevel, Recorder.VerbosityLevelChoices

public class LogLevel
extends EnumeratedAttribute

The enumerated values for Ant's log level.

Field Summary

static LogLevel
DEBUG
DEBUG loglevel constant.
static LogLevel
ERR
ERR loglevel constant.
static LogLevel
INFO
INFO loglevel constant.
static LogLevel
VERBOSE
VERBOSE loglevel constant.
static LogLevel
WARN
WARN loglevel constant.

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

value

Constructor Summary

LogLevel()
Public constructor.

Method Summary

int
getLevel()
get the level of the echo of the current value
String[]
getValues()

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

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

Field Details

DEBUG

public static final LogLevel DEBUG
DEBUG loglevel constant.

ERR

public static final LogLevel ERR
ERR loglevel constant.

INFO

public static final LogLevel INFO
INFO loglevel constant.

VERBOSE

public static final LogLevel VERBOSE
VERBOSE loglevel constant.

WARN

public static final LogLevel WARN
WARN loglevel constant.

Constructor Details

LogLevel

public LogLevel()
Public constructor.

Method Details

getLevel

public int getLevel()
get the level of the echo of the current value
Returns:
the level

getValues

public String[] getValues()
Overrides:
getValues in interface EnumeratedAttribute
Returns:
the strings allowed for the level attribute