Enum AlarmPriority
- java.lang.Object
-
- java.lang.Enum<AlarmPriority>
-
- com.inductiveautomation.ignition.common.alarming.AlarmPriority
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AlarmPriority>
public enum AlarmPriority extends java.lang.Enum<AlarmPriority>
The priority of the alarm. These values are from highest to lowest severity in respect to ordinal position.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CriticalDiagnosticHighLowMedium
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlarmPriorityfromIntValue(int val)intgetIntValue()static AlarmPriorityhighest()static AlarmPrioritylowest()java.lang.StringtoString()static AlarmPriorityvalueOf(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.
-
-
-
Enum Constant Detail
-
Diagnostic
public static final AlarmPriority Diagnostic
-
Low
public static final AlarmPriority Low
-
Medium
public static final AlarmPriority Medium
-
High
public static final AlarmPriority High
-
Critical
public static final AlarmPriority Critical
-
-
Method Detail
-
values
public static AlarmPriority[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlarmPriority c : AlarmPriority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlarmPriority valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getIntValue
public int getIntValue()
-
fromIntValue
public static AlarmPriority fromIntValue(int val)
-
lowest
public static AlarmPriority lowest()
-
highest
public static AlarmPriority highest()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<AlarmPriority>
-
-