public enum Phase extends Enum<Phase>
| Enum Constant and Description |
|---|
BUILDING |
RUNNING |
TERMINATED |
| Modifier and Type | Method and Description |
|---|---|
static Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phase BUILDING
public static final Phase RUNNING
public static final Phase TERMINATED
public static Phase[] values()
for (Phase c : Phase.values()) System.out.println(c);
public static Phase 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 © 2016 Dexecutor. All rights reserved.