public enum AlertSeverity extends java.lang.Enum<AlertSeverity> implements Localized
Enum Constant and Description |
---|
High |
Low |
Medium |
Medium_High |
Medium_Low |
Modifier and Type | Method and Description |
---|---|
static AlertSeverity |
getAlertSeverity(java.lang.Integer severity) |
int |
getIntValue()
Returns ordinal().
|
java.lang.String |
toString() |
java.lang.String |
toString(java.util.Locale locale) |
static AlertSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlertSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertSeverity Low
public static final AlertSeverity Medium_Low
public static final AlertSeverity Medium
public static final AlertSeverity Medium_High
public static final AlertSeverity High
public static AlertSeverity[] values()
for (AlertSeverity c : AlertSeverity.values()) System.out.println(c);
public static AlertSeverity 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 static AlertSeverity getAlertSeverity(java.lang.Integer severity)
public int getIntValue()
public java.lang.String toString(java.util.Locale locale)
public java.lang.String toString()
toString
in class java.lang.Enum<AlertSeverity>