public static enum Cube.State extends Enum<Cube.State>
| Enum Constant and Description |
|---|
CREATE_FAILED |
CREATED |
DESTORY_FAILED |
DESTROYED |
PRE_RUNNING |
START_FAILED |
STARTED |
STOP_FAILED |
STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static Cube.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cube.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cube.State CREATED
public static final Cube.State CREATE_FAILED
public static final Cube.State STARTED
public static final Cube.State START_FAILED
public static final Cube.State STOPPED
public static final Cube.State STOP_FAILED
public static final Cube.State DESTROYED
public static final Cube.State DESTORY_FAILED
public static final Cube.State PRE_RUNNING
public static Cube.State[] values()
for (Cube.State c : Cube.State.values()) System.out.println(c);
public static Cube.State 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 © 2015 JBoss by Red Hat. All rights reserved.