public enum RunState extends Enum<RunState>
QApiEnumDescriptor{name=RunState, data=[debug, inmigrate, internal-error, io-error, paused, postmigrate, prelaunch, finish-migrate, restore-vm, running, save-vm, shutdown, suspended, watchdog, guest-panicked], fields=null}
Enum Constant and Description |
---|
__UNKNOWN |
debug |
finish_migrate |
guest_panicked |
inmigrate |
internal_error |
io_error |
paused |
postmigrate |
prelaunch |
restore_vm |
running |
save_vm |
shutdown |
suspended |
watchdog |
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static RunState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunState internal_error
public static final RunState postmigrate
public static final RunState finish_migrate
public static final RunState restore_vm
public static final RunState guest_panicked
public static RunState[] values()
for (RunState c : RunState.values()) System.out.println(c);
public static RunState 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 nullpublic String getJsonValue()