public static enum Message.Severity extends Enum<Message.Severity>
| Enum Constant and Description |
|---|
ALERT |
CRITICAL |
DEBUG |
EMERGENCY |
ERROR |
INFORMATION |
NOTICE |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static Message.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Severity EMERGENCY
public static final Message.Severity ALERT
public static final Message.Severity CRITICAL
public static final Message.Severity ERROR
public static final Message.Severity WARNING
public static final Message.Severity NOTICE
public static final Message.Severity INFORMATION
public static final Message.Severity DEBUG
public static Message.Severity[] values()
for (Message.Severity c : Message.Severity.values()) System.out.println(c);
public static Message.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 © 2016. All Rights Reserved.