public enum JobState extends Enum<JobState>
Job
.Enum Constant and Description |
---|
DONE
Stopped state indicator.
|
ERROR
Error state indicator.
|
INITIAL
Initial state indicator.
|
POST_STAGING
The output files of the
Job are being post staged. |
PRE_STAGING
The input files of the
Job are being pre staged. |
RUNNING
Running state indicator.
|
SCHEDULED
Scheduled state indicator.
|
UNKNOWN
The
Job state is unknown for some reason. |
Modifier and Type | Method and Description |
---|---|
static JobState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobState PRE_STAGING
Job
are being pre staged.public static final JobState SCHEDULED
Job
has been submitted to a scheduler and is scheduled to be
executed.public static final JobState POST_STAGING
Job
are being post staged.public static final JobState DONE
public static JobState[] values()
for (JobState c : JobState.values()) System.out.println(c);
public static JobState 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 null