Enum Class AlarmSeverity

Object
Enum<AlarmSeverity>
se.curity.identityserver.sdk.alarm.AlarmSeverity
All Implemented Interfaces:
Serializable, Comparable<AlarmSeverity>, Constable

public enum AlarmSeverity extends Enum<AlarmSeverity>
The perceived severity of an Alarm. An alarm's severity can get progressively worse. The gradient of criticality is shown in the following figure (from no issue to the most impactful state):
 CLEAR -> WARNING -> MINOR -> MAJOR -> CRITICAL
 

At any point, an alarm may go from one state to another. The severity of an alarm, however, follow this succession. If an alarm is cleared, its severity progression will start over from CLEAR. Notably absent from this progression is INDETERMINATE; if an alarm is in this state, its severity is unknown.

Since:
5.2.0
  • Enum Constant Details

    • CLEAR

      public static final AlarmSeverity CLEAR
      Only used when setting status in history
    • INDETERMINATE

      public static final AlarmSeverity INDETERMINATE
      The severity is not known.
    • WARNING

      public static final AlarmSeverity WARNING
      The alarm indicates a POTENTIAL service impacting problem
    • MINOR

      public static final AlarmSeverity MINOR
      The alarm indicates the existence of a service impacting fault that does not yet degrade the operation fully.
    • MAJOR

      public static final AlarmSeverity MAJOR
      The alarm indicates the existence of a service impacting fault that has severe degradation of operation. Urgent corrective action is needed
    • CRITICAL

      public static final AlarmSeverity CRITICAL
      The alarm indicates the existence of a service impacting fault that make operation completely halted. Immediate corrective action is needed
  • Method Details

    • values

      public static AlarmSeverity[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AlarmSeverity valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      @Nullable public static @Nullable AlarmSeverity valueOf(int severity)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      severity - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()