public enum RunState extends Enum<RunState>
Enum Constant and Description |
---|
FAILED |
RUNNING |
STARTING |
STOPPED |
STOPPING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
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 STARTING
public static final RunState RUNNING
public static final RunState STOPPING
public static final RunState STOPPED
public static final RunState FAILED
public static final RunState UNKNOWN
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 nullCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.