public enum AlarmPriority extends java.lang.Enum<AlarmPriority>
| Enum Constant and Description |
|---|
Critical |
Diagnostic |
High |
Low |
Medium |
| Modifier and Type | Method and Description |
|---|---|
static AlarmPriority |
fromIntValue(int val) |
int |
getIntValue() |
static AlarmPriority |
highest() |
static AlarmPriority |
lowest() |
java.lang.String |
toString() |
static AlarmPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlarmPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmPriority Diagnostic
public static final AlarmPriority Low
public static final AlarmPriority Medium
public static final AlarmPriority High
public static final AlarmPriority Critical
public static AlarmPriority[] values()
for (AlarmPriority c : AlarmPriority.values()) System.out.println(c);
public static AlarmPriority 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 getIntValue()
public static AlarmPriority fromIntValue(int val)
public static AlarmPriority lowest()
public static AlarmPriority highest()
public java.lang.String toString()
toString in class java.lang.Enum<AlarmPriority>