Enum Class AlarmLevel.Direction

java.lang.Object
java.lang.Enum<AlarmLevel.Direction>
neqsim.process.alarm.AlarmLevel.Direction
All Implemented Interfaces:
Serializable, Comparable<AlarmLevel.Direction>, Constable
Enclosing class:
AlarmLevel

public static enum AlarmLevel.Direction extends Enum<AlarmLevel.Direction>
Direction of the alarm (high or low).
  • Enum Constant Details

    • LOW

      public static final AlarmLevel.Direction LOW
      Alarm is triggered when the value becomes too low.
    • HIGH

      public static final AlarmLevel.Direction HIGH
      Alarm is triggered when the value becomes too high.
  • Constructor Details

    • Direction

      private Direction()
  • Method Details

    • values

      public static AlarmLevel.Direction[] 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 AlarmLevel.Direction 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