Enum Class AlertSeverity

java.lang.Object
java.lang.Enum<AlertSeverity>
com.inductiveautomation.ignition.common.sqltags.model.AlertSeverity
All Implemented Interfaces:
Localized, Serializable, Comparable<AlertSeverity>, Constable

public enum AlertSeverity extends Enum<AlertSeverity> implements Localized
The AlertSeverity describes the importance of the alert message
  • Enum Constant Details

  • Method Details

    • values

      public static AlertSeverity[] 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 AlertSeverity 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
    • getAlertSeverity

      public static AlertSeverity getAlertSeverity(Integer severity)
    • getIntValue

      public int getIntValue()
      Returns ordinal(). Implemented in order to be consistent with other enums in PMI.
    • toString

      public String toString(Locale locale)
      Specified by:
      toString in interface Localized
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AlertSeverity>