IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.longrun
Class JobStatusConstants

java.lang.Object
  extended by com.ibm.websphere.longrun.JobStatusConstants

public class JobStatusConstants
extends java.lang.Object

Represents the job status codes stored in the job scheduler database. These are the status codes returned by the job scheduler EJB and the lrcmd client.


Field Summary
static int CANCEL_PENDING
          A cancel request was received by the job scheduler and the grid endpoint is in the process of canceling the job.
static int CANCELLED
          The job has been canceled successfully.
static int DISPATCHED
          A worker thread has been dispatched to execute the job
static int ENDED
          Job has ended successfully.
static int EXECUTING
          Job is currently executing on a grid endpoint.
static int EXECUTION_FAILED
          Error occurred while running a compute-intensive job or setting up a j2ee job.
static int IN_SETUP
          Job is in the process of being setup
static int NOT_STARTED
          NO step status
static int PENDING_SUBMIT
          A delayed job is waiting to be submitted based on the start time for the job
static int RESTARTABLE
          The job is restartable.
static int RESUME_PENDING
          A resume request was received by the job scheduler and the grid endpoint is in the process of resuming the job.
static java.lang.String[] statusText
          Descriptive text for the job status codes.
static int STOP_PENDING
          A stop request was received by the job scheduler and the grid endpoint is in the process of stopping the job.
static int STOPPED
          Job is stopped.
static int SUBMITTED
          Job has been submitted to the job scheduler but has not yet been started on a grid endpoint
static int SUSPEND_PENDING
          A suspend request was received by the job scheduler and the grid endpoint is in the process of suspending the job.
static int SUSPENDED
          Job is currently suspended on the grid endpoint
static int UNKNOWN
          UNKNOWN status
 
Constructor Summary
JobStatusConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUBMITTED

public static final int SUBMITTED
Job has been submitted to the job scheduler but has not yet been started on a grid endpoint

See Also:
Constant Field Values

CANCEL_PENDING

public static final int CANCEL_PENDING
A cancel request was received by the job scheduler and the grid endpoint is in the process of canceling the job.

See Also:
Constant Field Values

SUSPEND_PENDING

public static final int SUSPEND_PENDING
A suspend request was received by the job scheduler and the grid endpoint is in the process of suspending the job. Applies to batch jobs only.

See Also:
Constant Field Values

RESUME_PENDING

public static final int RESUME_PENDING
A resume request was received by the job scheduler and the grid endpoint is in the process of resuming the job. Applies to batch jobs only.

See Also:
Constant Field Values

EXECUTING

public static final int EXECUTING
Job is currently executing on a grid endpoint.

See Also:
Constant Field Values

SUSPENDED

public static final int SUSPENDED
Job is currently suspended on the grid endpoint

See Also:
Constant Field Values

CANCELLED

public static final int CANCELLED
The job has been canceled successfully. Applies to compute-intensive jobs only.

See Also:
Constant Field Values

ENDED

public static final int ENDED
Job has ended successfully.

See Also:
Constant Field Values

RESTARTABLE

public static final int RESTARTABLE
The job is restartable. Batch jobs that fail or are canceled, go into the RESTARTABLE state. Applies to batch jobs only.

See Also:
Constant Field Values

EXECUTION_FAILED

public static final int EXECUTION_FAILED
Error occurred while running a compute-intensive job or setting up a j2ee job.

See Also:
Constant Field Values

PENDING_SUBMIT

public static final int PENDING_SUBMIT
A delayed job is waiting to be submitted based on the start time for the job

See Also:
Constant Field Values

STOP_PENDING

public static final int STOP_PENDING
A stop request was received by the job scheduler and the grid endpoint is in the process of stopping the job.

See Also:
Constant Field Values

STOPPED

public static final int STOPPED
Job is stopped. Applies to batch jobs only.

See Also:
Constant Field Values

DISPATCHED

public static final int DISPATCHED
A worker thread has been dispatched to execute the job

See Also:
Constant Field Values

IN_SETUP

public static final int IN_SETUP
Job is in the process of being setup

See Also:
Constant Field Values

NOT_STARTED

public static final int NOT_STARTED
NO step status

See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
UNKNOWN status

See Also:
Constant Field Values

statusText

public static final java.lang.String[] statusText
Descriptive text for the job status codes.

Constructor Detail

JobStatusConstants

public JobStatusConstants()

IBM WebSphere Application ServerTM
Release 7