public static enum PowerOperation.OP extends java.lang.Enum<PowerOperation.OP>
Enum Constant and Description |
---|
PWR_DOWN |
PWR_DOWN_ABORTED |
PWR_DOWN_IP |
PWR_UP |
PWR_UP_IP |
SCHED_PWR_DOWN |
SCHED_PWR_UP |
Modifier and Type | Method and Description |
---|---|
long |
value() |
static PowerOperation.OP |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PowerOperation.OP[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerOperation.OP PWR_DOWN
public static final PowerOperation.OP PWR_DOWN_IP
public static final PowerOperation.OP PWR_DOWN_ABORTED
public static final PowerOperation.OP SCHED_PWR_DOWN
public static final PowerOperation.OP PWR_UP
public static final PowerOperation.OP PWR_UP_IP
public static final PowerOperation.OP SCHED_PWR_UP
public static PowerOperation.OP[] values()
for (PowerOperation.OP c : PowerOperation.OP.values()) System.out.println(c);
public static PowerOperation.OP 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 nullpublic long value()