public enum AutostopType extends java.lang.Enum<AutostopType>
IMachine.getAutostopType().
Interface ID: {6BB96740-CF34-470D-AAB2-2CD48EA2E10E}| Enum Constant and Description |
|---|
AcpiShutdown
An ACPI shutdown event is generated.
|
Disabled
Stopping the VM during system shutdown is disabled.
|
PowerOff
The VM is powered off when the system shuts down.
|
SaveState
The state of the VM will be saved when the system shuts down.
|
| Modifier and Type | Method and Description |
|---|---|
static AutostopType |
fromValue(long v) |
static AutostopType |
fromValue(java.lang.String v) |
int |
value() |
static AutostopType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutostopType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutostopType Disabled
public static final AutostopType SaveState
public static final AutostopType PowerOff
public static final AutostopType AcpiShutdown
public static AutostopType[] values()
for (AutostopType c : AutostopType.values()) System.out.println(c);
public static AutostopType 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 int value()
public static AutostopType fromValue(long v)
public static AutostopType fromValue(java.lang.String v)