org.apache.tools.ant.types

Class LogLevel

public class LogLevel extends EnumeratedAttribute

The enumerated values for Ant's log level.
Field Summary
static LogLevelDEBUG
DEBUG loglevel constant.
static LogLevelERR
ERR loglevel constant.
static LogLevelINFO
INFO loglevel constant.
static LogLevelVERBOSE
VERBOSE loglevel constant.
static LogLevelWARN
WARN loglevel constant.
Constructor Summary
LogLevel()
Public constructor.
Method Summary
intgetLevel()
get the level of the echo of the current value
String[]getValues()

Field Detail

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 Detail

LogLevel

public LogLevel()
Public constructor.

Method Detail

getLevel

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

Returns: the level

getValues

public String[] getValues()

Returns: the strings allowed for the level attribute

See Also: EnumeratedAttribute