public static enum AlertMessage.Severity extends java.lang.Enum<AlertMessage.Severity>
Enum Constant and Description |
---|
CRITICAL |
LOW |
NORMAL |
SIGNIFICANT |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns severity as int value.
|
static AlertMessage.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlertMessage.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertMessage.Severity LOW
public static final AlertMessage.Severity NORMAL
public static final AlertMessage.Severity SIGNIFICANT
public static final AlertMessage.Severity CRITICAL
public static AlertMessage.Severity[] values()
for (AlertMessage.Severity c : AlertMessage.Severity.values()) System.out.println(c);
public static AlertMessage.Severity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()