public enum StatusLevel extends Enum<StatusLevel>
Modifier and Type | Method and Description |
---|---|
static StatusLevel |
fromValue(Long value) |
Long |
value() |
static StatusLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusLevel ERROR
public static final StatusLevel WARN
public static final StatusLevel INFO
public static final StatusLevel DEBUG
public static final StatusLevel TRACE
public static StatusLevel[] values()
for (StatusLevel c : StatusLevel.values()) System.out.println(c);
public static StatusLevel 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 Long value()
public static StatusLevel fromValue(Long value)