public enum DebugLevel extends java.lang.Enum<DebugLevel>
Enum Constant and Description |
---|
DEBUG
Debug level
|
ERROR
Error level
|
INFORMATION
Information level
|
VERBOSE
Verbose level
|
WARNING
Warning level
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
header
Header
|
private int |
level
Level
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeader()
Header
|
int |
getLevel()
Level
|
static DebugLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DebugLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DebugLevel DEBUG
public static final DebugLevel ERROR
public static final DebugLevel INFORMATION
public static final DebugLevel VERBOSE
public static final DebugLevel WARNING
public static DebugLevel[] values()
for (DebugLevel c : DebugLevel.values()) System.out.println(c);
public static DebugLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getHeader()
public int getLevel()