public static enum Job.Status extends Enum<Job.Status>
Enum Constant and Description |
---|
DONEWITHERROR |
FAILED |
IGNORED |
KILLED |
PAUSED |
PAUSEDWITHERROR |
PREMATER |
PREP |
PREPPAUSED |
PREPSUSPENDED |
RUNNING |
RUNNINGWITHERROR |
SUCCEEDED |
SUSPENDED |
SUSPENDEDWITHERROR |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Job.Status PREMATER
public static final Job.Status PREP
public static final Job.Status RUNNING
public static final Job.Status SUSPENDED
public static final Job.Status SUCCEEDED
public static final Job.Status KILLED
public static final Job.Status FAILED
public static final Job.Status PAUSED
public static final Job.Status PREPPAUSED
public static final Job.Status PREPSUSPENDED
public static final Job.Status RUNNINGWITHERROR
public static final Job.Status SUSPENDEDWITHERROR
public static final Job.Status PAUSEDWITHERROR
public static final Job.Status DONEWITHERROR
public static final Job.Status IGNORED
public static Job.Status[] values()
for (Job.Status c : Job.Status.values()) System.out.println(c);
public static Job.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Apache Software Foundation. All rights reserved.