public static enum Workflow.WorkflowStatus extends java.lang.Enum<Workflow.WorkflowStatus>
| Enum Constant and Description |
|---|
COMPLETED |
FAILED |
PAUSED |
RUNNING |
TERMINATED |
TIMED_OUT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSuccessful() |
boolean |
isTerminal() |
static Workflow.WorkflowStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Workflow.WorkflowStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Workflow.WorkflowStatus RUNNING
public static final Workflow.WorkflowStatus COMPLETED
public static final Workflow.WorkflowStatus FAILED
public static final Workflow.WorkflowStatus TIMED_OUT
public static final Workflow.WorkflowStatus TERMINATED
public static final Workflow.WorkflowStatus PAUSED
public static Workflow.WorkflowStatus[] values()
for (Workflow.WorkflowStatus c : Workflow.WorkflowStatus.values()) System.out.println(c);
public static Workflow.WorkflowStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isTerminal()
public boolean isSuccessful()