public static enum MessageUtils.Severity extends Enum<MessageUtils.Severity>
Modifier and Type | Method and Description |
---|---|
static MessageUtils.Severity |
getSeverity(String value) |
String |
jsSeverity() |
static MessageUtils.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageUtils.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageUtils.Severity INFO
public static final MessageUtils.Severity WARNING
public static final MessageUtils.Severity SEVERE
public static MessageUtils.Severity[] values()
for (MessageUtils.Severity c : MessageUtils.Severity.values()) System.out.println(c);
public static MessageUtils.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 nullpublic String jsSeverity()
public static MessageUtils.Severity getSeverity(String value)