Enum PowerEvent

java.lang.Object
java.lang.Enum<PowerEvent>
org.metricshub.ipmi.client.PowerEvent
All Implemented Interfaces:
Serializable, Comparable<PowerEvent>

public enum PowerEvent extends Enum<PowerEvent>
What caused the last power-down or power-up of the system (Get Chassis Status, IPMI 2.0 table 28-3).
  • Enum Constant Details

    • AC_FAILED

      public static final PowerEvent AC_FAILED
      The system lost its AC supply.
    • POWER_OVERLOAD

      public static final PowerEvent POWER_OVERLOAD
      The system was powered down by a power overload.
    • INTERLOCK

      public static final PowerEvent INTERLOCK
      The system was powered down by a chassis interlock, such as an open panel.
    • POWER_FAULT

      public static final PowerEvent POWER_FAULT
      The system was powered down by a power fault.
    • IPMI_COMMAND

      public static final PowerEvent IPMI_COMMAND
      The system was powered on or off by an IPMI command.
  • Method Details

    • values

      public static PowerEvent[] 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 PowerEvent 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