org.apache.oozie.client
Enum WorkflowAction.Status
java.lang.Object
java.lang.Enum<WorkflowAction.Status>
org.apache.oozie.client.WorkflowAction.Status
- All Implemented Interfaces:
- Serializable, Comparable<WorkflowAction.Status>
- Enclosing interface:
- WorkflowAction
public static enum WorkflowAction.Status
- extends Enum<WorkflowAction.Status>
Defines the possible stati of a action.
PREP
public static final WorkflowAction.Status PREP
RUNNING
public static final WorkflowAction.Status RUNNING
OK
public static final WorkflowAction.Status OK
ERROR
public static final WorkflowAction.Status ERROR
USER_RETRY
public static final WorkflowAction.Status USER_RETRY
START_RETRY
public static final WorkflowAction.Status START_RETRY
START_MANUAL
public static final WorkflowAction.Status START_MANUAL
DONE
public static final WorkflowAction.Status DONE
END_RETRY
public static final WorkflowAction.Status END_RETRY
END_MANUAL
public static final WorkflowAction.Status END_MANUAL
KILLED
public static final WorkflowAction.Status KILLED
FAILED
public static final WorkflowAction.Status FAILED
values
public static WorkflowAction.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 (WorkflowAction.Status c : WorkflowAction.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 WorkflowAction.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
Copyright © 2013 Apache Software Foundation. All Rights Reserved.