|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PowerState>
net.java.dev.vcc.api.PowerState
public enum PowerState
Represents the power states of a virtual machine.
| Enum Constant Summary | |
|---|---|
PAUSED
Execution of a running virtual machine has been paused, the state is still in memory but it is not consuming CPU cycles. |
|
RUNNING
The virtual machine's state is in memory and active. |
|
STOPPED
The virtual machine has been powered off, to power it on again will require going through the BIOS boot sequence. |
|
SUSPENDED
A running virtual machine's state has been written out to disk, powering it on again will resume it from this state and will be delayed while the state is restored from disk. |
|
| Method Summary | |
|---|---|
static PowerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PowerState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PowerState STOPPED
public static final PowerState SUSPENDED
public static final PowerState PAUSED
public static final PowerState RUNNING
| Method Detail |
|---|
public static PowerState[] values()
for (PowerState c : PowerState.values()) System.out.println(c);
public static PowerState 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||