public enum PowerRestorePolicy extends java.lang.Enum<PowerRestorePolicy>
Enum Constant and Description |
---|
PoweredOff
Chassis stays powered off after AC/mains returns
|
PoweredUp
Chassis always powers up after AC/mains returns
|
PowerRestored
After AC returns, power is restored to the state that was in effect when
AC/mains was lost
|
Modifier and Type | Method and Description |
---|---|
static PowerRestorePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PowerRestorePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerRestorePolicy PoweredOff
public static final PowerRestorePolicy PowerRestored
public static final PowerRestorePolicy PoweredUp
public static PowerRestorePolicy[] values()
for (PowerRestorePolicy c : PowerRestorePolicy.values()) System.out.println(c);
public static PowerRestorePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null