org.apache.oozie.client
Enum Job.Status
java.lang.Object
java.lang.Enum<Job.Status>
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.
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. |
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
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 © 2013 Apache Software Foundation. All Rights Reserved.