org.apache.oozie.workflow
Enum WorkflowInstance.Status
java.lang.Object
java.lang.Enum<WorkflowInstance.Status>
org.apache.oozie.workflow.WorkflowInstance.Status
- All Implemented Interfaces:
- Serializable, Comparable<WorkflowInstance.Status>
- Enclosing interface:
- WorkflowInstance
public static enum WorkflowInstance.Status
- extends Enum<WorkflowInstance.Status>
Defines the possible stati of a WorkflowInstance
.
PREP
public static final WorkflowInstance.Status PREP
RUNNING
public static final WorkflowInstance.Status RUNNING
SUSPENDED
public static final WorkflowInstance.Status SUSPENDED
SUCCEEDED
public static final WorkflowInstance.Status SUCCEEDED
FAILED
public static final WorkflowInstance.Status FAILED
KILLED
public static final WorkflowInstance.Status KILLED
values
public static WorkflowInstance.Status[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (WorkflowInstance.Status c : WorkflowInstance.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WorkflowInstance.Status valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
isEndState
public boolean isEndState()
- Return if the status if an end state (it cannot change anymore).
- Returns:
- if the status if an end state (it cannot change anymore).
Copyright © 2013 Apache Software Foundation. All Rights Reserved.