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 SummaryEnum Constants Enum Constant Description CriticalDiagnosticHighLowMedium
 - 
Method SummaryAll 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- 
Diagnosticpublic static final AlarmPriority Diagnostic 
 - 
Lowpublic static final AlarmPriority Low 
 - 
Mediumpublic static final AlarmPriority Medium 
 - 
Highpublic static final AlarmPriority High 
 - 
Criticalpublic static final AlarmPriority Critical 
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- java.lang.NullPointerException- if the argument is null
 
 - 
getIntValuepublic int getIntValue() 
 - 
fromIntValuepublic static AlarmPriority fromIntValue(int val) 
 - 
lowestpublic static AlarmPriority lowest() 
 - 
highestpublic static AlarmPriority highest() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Enum<AlarmPriority>
 
 
- 
 
-