public enum VMState extends Enum<VMState>
Enum Constant and Description |
---|
BLOCKED |
CRASHED |
NOSTATE |
PAUSED |
RUNNING |
SHUTDOWN |
SHUTOFF |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static VMState |
fromValue(String value) |
static VMState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VMState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VMState NOSTATE
public static final VMState RUNNING
public static final VMState BLOCKED
public static final VMState PAUSED
public static final VMState SHUTDOWN
public static final VMState SHUTOFF
public static final VMState CRASHED
public static final VMState UNRECOGNIZED
public static VMState[] values()
for (VMState c : VMState.values()) System.out.println(c);
public static VMState 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 © 2009-2018 The Apache Software Foundation. All Rights Reserved.