public enum PhysicalServerPowerState extends Enum<PhysicalServerPowerState>
Enum Constant and Description |
---|
Off |
On |
PoweringOff |
PoweringOn |
Resetting |
Unknown |
Modifier and Type | Method and Description |
---|---|
static PhysicalServerPowerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhysicalServerPowerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhysicalServerPowerState Off
public static final PhysicalServerPowerState On
public static final PhysicalServerPowerState PoweringOff
public static final PhysicalServerPowerState PoweringOn
public static final PhysicalServerPowerState Resetting
public static final PhysicalServerPowerState Unknown
public static PhysicalServerPowerState[] values()
for (PhysicalServerPowerState c : PhysicalServerPowerState.values()) System.out.println(c);
public static PhysicalServerPowerState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.