public enum UserMessageLevel extends Enum<UserMessageLevel>
Enum Constant and Description |
---|
DEBUG |
ERROR |
FATAL |
INFO |
TRACE |
WARN |
Modifier and Type | Method and Description |
---|---|
static UserMessageLevel |
parseThreshold(String s) |
int |
value() |
static UserMessageLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserMessageLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserMessageLevel TRACE
public static final UserMessageLevel DEBUG
public static final UserMessageLevel INFO
public static final UserMessageLevel WARN
public static final UserMessageLevel ERROR
public static final UserMessageLevel FATAL
public static UserMessageLevel[] values()
for (UserMessageLevel c : UserMessageLevel.values()) System.out.println(c);
public static UserMessageLevel 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 value()
public static UserMessageLevel parseThreshold(String s)
Copyright © 2004-2013 Deep Shift Labs. All Rights Reserved.