org.inria.myriads.snoozenode.configurator.energymanagement.enums
public enum PowerSavingAction extends Enum<PowerSavingAction>
Enum Constant and Description |
---|
shutdown
Shutdown.
|
suspendToBoth
Suspend to both.
|
suspendToDisk
Suspend to disk.
|
suspendToRam
Suspend to ram.
|
Modifier and Type | Method and Description |
---|---|
static PowerSavingAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PowerSavingAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerSavingAction shutdown
public static final PowerSavingAction suspendToRam
public static final PowerSavingAction suspendToDisk
public static final PowerSavingAction suspendToBoth
public static PowerSavingAction[] values()
for (PowerSavingAction c : PowerSavingAction.values()) System.out.println(c);
public static PowerSavingAction 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 © 2013. All Rights Reserved.