public enum JobStatus extends Enum<JobStatus>
This class is thread-safe.
| Enum Constant and Description |
|---|
CANCELED
All tasks of the job are canceled as a result of a user request.
|
CREATED
All tasks of the job are in the execution state CREATED.
|
FAILED
At least one task of the job has definitively failed and cannot
be recovered anymore.
|
FINISHED
All of the job's tasks have successfully finished.
|
RUNNING
At least one task of the job is running, none has definitely failed.
|
SCHEDULED
All tasks of the job have been accepted by the scheduler, resources have been requested.
|
| Modifier and Type | Method and Description |
|---|---|
static JobStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus CREATED
public static final JobStatus SCHEDULED
public static final JobStatus RUNNING
public static final JobStatus FAILED
public static final JobStatus CANCELED
public static final JobStatus FINISHED
public static JobStatus[] values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public static JobStatus 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 © 2014 The Apache Software Foundation. All rights reserved.