|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Job.JobState>
org.gridlab.gat.resources.Job.JobState
public static enum Job.JobState
An instance of this enumeration indicates the state of a Job.
| Enum Constant Summary | |
|---|---|
INITIAL
Initial state indicator. |
|
ON_HOLD
The Job has been paused. |
|
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. |
|
STOPPED
Stopped state indicator. |
|
SUBMISSION_ERROR
Submission error state indicator. |
|
UNKNOWN
The Job state is unknown for some reason. |
|
| Method Summary | |
|---|---|
static Job.JobState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Job.JobState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Job.JobState INITIAL
Job has been constructed.
public static final Job.JobState SCHEDULED
Job has been submitted to a resource broker and is
scheduled to be executed.
public static final Job.JobState RUNNING
Job is executing.
public static final Job.JobState STOPPED
Job has properly run. All the cleanup and administration
of the Job is completely done.
public static final Job.JobState SUBMISSION_ERROR
Job hasn't properly run. All the cleanup and
administration of the Job is completely done.
public static final Job.JobState ON_HOLD
Job has been paused.
The Job has been paused by the user.
public static final Job.JobState PRE_STAGING
Job are being pre staged.
public static final Job.JobState POST_STAGING
Job are being post staged.
public static final Job.JobState UNKNOWN
Job state is unknown for some reason. It might be a
network problem.
| Method Detail |
|---|
public static Job.JobState[] values()
for (Job.JobState c : Job.JobState.values()) System.out.println(c);
public static Job.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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||