public static enum TaskStatus.State extends Enum<TaskStatus.State>
| Enum Constant and Description |
|---|
CREATING |
EXITED |
FAILED |
HEALTHCHECKING |
PULLING_IMAGE |
RUNNING |
STARTING |
STOPPED |
STOPPING |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static TaskStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStatus.State PULLING_IMAGE
public static final TaskStatus.State CREATING
public static final TaskStatus.State STARTING
public static final TaskStatus.State HEALTHCHECKING
public static final TaskStatus.State RUNNING
public static final TaskStatus.State EXITED
public static final TaskStatus.State STOPPING
public static final TaskStatus.State STOPPED
public static final TaskStatus.State FAILED
public static final TaskStatus.State UNKNOWN
public static TaskStatus.State[] values()
for (TaskStatus.State c : TaskStatus.State.values()) System.out.println(c);
public static TaskStatus.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 © 2019. All rights reserved.