Package org.metricshub.ipmi.client
Enum PowerEvent
- All Implemented Interfaces:
Serializable,Comparable<PowerEvent>
What caused the last power-down or power-up of the system (Get Chassis Status, IPMI 2.0 table 28-3).
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe system lost its AC supply.The system was powered down by a chassis interlock, such as an open panel.The system was powered on or off by an IPMI command.The system was powered down by a power fault.The system was powered down by a power overload. -
Method Summary
Modifier and TypeMethodDescriptionstatic PowerEventReturns the enum constant of this type with the specified name.static PowerEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AC_FAILED
The system lost its AC supply. -
POWER_OVERLOAD
The system was powered down by a power overload. -
INTERLOCK
The system was powered down by a chassis interlock, such as an open panel. -
POWER_FAULT
The system was powered down by a power fault. -
IPMI_COMMAND
The system was powered on or off by an IPMI command.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-