public enum State extends Enum<State>
Task| Enum Constant and Description |
|---|
CANCELING_STATE
The canceling state
|
FAILED_STATE
The failed state
|
PENDING_STATE
The pending state
|
RUNNING_STATE
The running state
|
SUCCEEDED_STATE
The succeeded state
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
String |
toString() |
static State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final State CANCELING_STATE
public static final State FAILED_STATE
public static final State PENDING_STATE
public static final State RUNNING_STATE
public static final State SUCCEEDED_STATE
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static 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 nullpublic String getValue()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.