org.apache.oozie.client
Enum WorkflowAction.Status

java.lang.Object
  extended by java.lang.Enum<WorkflowAction.Status>
      extended by 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.


Enum Constant Summary
DONE
           
END_MANUAL
           
END_RETRY
           
ERROR
           
FAILED
           
KILLED
           
OK
           
PREP
           
RUNNING
           
START_MANUAL
           
START_RETRY
           
USER_RETRY
           
 
Method Summary
static WorkflowAction.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WorkflowAction.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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 © 2012 Apache Software Foundation. All Rights Reserved.