org.apache.oozie.client
Enum Job.Status

java.lang.Object
  extended by java.lang.Enum<Job.Status>
      extended by org.apache.oozie.client.Job.Status
All Implemented Interfaces:
Serializable, Comparable<Job.Status>
Enclosing interface:
Job

public static enum Job.Status
extends Enum<Job.Status>

Defines the possible status of an Oozie JOB.


Enum Constant Summary
DONEWITHERROR
           
FAILED
           
KILLED
           
PAUSED
           
PAUSEDWITHERROR
           
PREMATER
           
PREP
           
PREPPAUSED
           
PREPSUSPENDED
           
RUNNING
           
RUNNINGWITHERROR
           
SUCCEEDED
           
SUSPENDED
           
SUSPENDEDWITHERROR
           
 
Method Summary
static Job.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Job.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

PREMATER

public static final Job.Status PREMATER

PREP

public static final Job.Status PREP

RUNNING

public static final Job.Status RUNNING

SUSPENDED

public static final Job.Status SUSPENDED

SUCCEEDED

public static final Job.Status SUCCEEDED

KILLED

public static final Job.Status KILLED

FAILED

public static final Job.Status FAILED

PAUSED

public static final Job.Status PAUSED

PREPPAUSED

public static final Job.Status PREPPAUSED

PREPSUSPENDED

public static final Job.Status PREPSUSPENDED

RUNNINGWITHERROR

public static final Job.Status RUNNINGWITHERROR

SUSPENDEDWITHERROR

public static final Job.Status SUSPENDEDWITHERROR

PAUSEDWITHERROR

public static final Job.Status PAUSEDWITHERROR

DONEWITHERROR

public static final Job.Status DONEWITHERROR
Method Detail

values

public static Job.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 (Job.Status c : Job.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 Job.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.