public static enum Database.LogLevel extends Enum<Database.LogLevel>
Enum Constant and Description |
---|
DEBUG |
ERROR |
INFO |
NONE |
VERBOSE |
WARNING |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Database.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Database.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Database.LogLevel DEBUG
public static final Database.LogLevel VERBOSE
public static final Database.LogLevel INFO
public static final Database.LogLevel WARNING
public static final Database.LogLevel ERROR
public static final Database.LogLevel NONE
public static Database.LogLevel[] values()
for (Database.LogLevel c : Database.LogLevel.values()) System.out.println(c);
public static Database.LogLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()