public static enum MessageType.Severity extends Enum<MessageType.Severity>
Enum Constant and Description |
---|
ERROR
Error severity.
|
FATAL
Fatal severity.
|
INFO
Info severity.
|
WARN
Warn severity.
|
Modifier and Type | Method and Description |
---|---|
static MessageType.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType.Severity INFO
public static final MessageType.Severity WARN
public static final MessageType.Severity ERROR
public static final MessageType.Severity FATAL
public static MessageType.Severity[] values()
for (MessageType.Severity c : MessageType.Severity.values()) System.out.println(c);
public static MessageType.Severity 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 nullCopyright © 2013. All Rights Reserved.