public static enum WorkflowInstance.Status extends Enum<WorkflowInstance.Status>
WorkflowInstance
.Enum Constant and Description |
---|
FAILED |
KILLED |
PREP |
RUNNING |
SUCCEEDED |
SUSPENDED |
Modifier and Type | Method and Description |
---|---|
boolean |
isEndState()
Return if the status if an end state (it cannot change anymore).
|
static WorkflowInstance.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowInstance.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowInstance.Status PREP
public static final WorkflowInstance.Status RUNNING
public static final WorkflowInstance.Status SUSPENDED
public static final WorkflowInstance.Status SUCCEEDED
public static final WorkflowInstance.Status FAILED
public static final WorkflowInstance.Status KILLED
public static WorkflowInstance.Status[] values()
for (WorkflowInstance.Status c : WorkflowInstance.Status.values()) System.out.println(c);
public static WorkflowInstance.Status 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 boolean isEndState()
Copyright © 2018 Apache Software Foundation. All rights reserved.