java.lang.Object
java.lang.Enum<SensorState>
org.sentrysoftware.ipmi.core.coding.commands.sdr.SensorState
All Implemented Interfaces:
Serializable, Comparable<SensorState>

public enum SensorState extends Enum<SensorState>
Represents state of threshold-based sensor.
  • Enum Constant Details

    • BelowLowerNonRecoverable

      public static final SensorState BelowLowerNonRecoverable
    • AboveUpperNonCritical

      public static final SensorState AboveUpperNonCritical
    • AboveUpperNonRecoverable

      public static final SensorState AboveUpperNonRecoverable
    • BelowLowerNonCritical

      public static final SensorState BelowLowerNonCritical
    • BelowLowerCritical

      public static final SensorState BelowLowerCritical
    • AboveUpperCritical

      public static final SensorState AboveUpperCritical
    • Ok

      public static final SensorState Ok
    • Invalid

      public static final SensorState Invalid
  • Method Details

    • values

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

      public static SensorState valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • parseInt

      public static SensorState parseInt(int value)