org.inria.myriads.snoozenode.localcontroller.powermanagement.suspend
public enum SuspendState extends Enum<SuspendState>
Enum Constant and Description |
---|
both
Suspend to both.
|
disk
Suspend to disk.
|
mem
Suspend to ram.
|
standby
Standby.
|
Modifier and Type | Method and Description |
---|---|
static SuspendState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuspendState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuspendState standby
public static final SuspendState mem
public static final SuspendState disk
public static final SuspendState both
public static SuspendState[] values()
for (SuspendState c : SuspendState.values()) System.out.println(c);
public static SuspendState 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.