org.gridbus.broker.constants
Class JobStatus

java.lang.Object
  extended by org.gridbus.broker.constants.JobStatus

public final class JobStatus
extends java.lang.Object

Author:
Krishna

Field Summary
static int ACTIVE
          Job is active/executing on the remote node
static int DONE
          Job is completed successfully.
static int FAILED
          Job has failed.
static int PENDING
          Job is submitted, but waiting on the remote node.
static int READY
          Job is ready to be scheduled
static int SCHEDULED
          Job is scheduled, and waiting on the local broker node, to be submitted to the remote node
static int STAGE_IN
          Job is staging in files (before starting execution)
static int STAGE_OUT
          Job is staging out files (after completion before being reported as DONE / FAILED)
static int STATUS_ANY
          Used to indicate ANY/ALL status : Used only internally.
static int SUBMITTED
          Job is submitted on the remote node
static int UNKNOWN
          Job status is not known
 
Constructor Summary
JobStatus()
           
 
Method Summary
static int intValue(java.lang.String jobStatus)
          Returns an integer representation of the status corresponding to the given string.
static java.lang.String stringValue(int jobStatus)
          This method converts the input integer job status code to string format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTIVE

public static final int ACTIVE
Job is active/executing on the remote node

See Also:
Constant Field Values

DONE

public static final int DONE
Job is completed successfully.

See Also:
Constant Field Values

FAILED

public static final int FAILED
Job has failed.

See Also:
Constant Field Values

SCHEDULED

public static final int SCHEDULED
Job is scheduled, and waiting on the local broker node, to be submitted to the remote node

See Also:
Constant Field Values

PENDING

public static final int PENDING
Job is submitted, but waiting on the remote node. (For eg:, it could be in a queue on the remote node

See Also:
Constant Field Values

STAGE_IN

public static final int STAGE_IN
Job is staging in files (before starting execution)

See Also:
Constant Field Values

STAGE_OUT

public static final int STAGE_OUT
Job is staging out files (after completion before being reported as DONE / FAILED)

See Also:
Constant Field Values

STATUS_ANY

public static final int STATUS_ANY
Used to indicate ANY/ALL status : Used only internally.

See Also:
Constant Field Values

SUBMITTED

public static final int SUBMITTED
Job is submitted on the remote node

See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
Job status is not known

See Also:
Constant Field Values

READY

public static final int READY
Job is ready to be scheduled

See Also:
Constant Field Values
Constructor Detail

JobStatus

public JobStatus()
Method Detail

stringValue

public static java.lang.String stringValue(int jobStatus)
This method converts the input integer job status code to string format.

Parameters:
jobStatus -
Returns:

intValue

public static int intValue(java.lang.String jobStatus)
Returns an integer representation of the status corresponding to the given string.

Parameters:
jobStatus -
Returns:

Copyright © The University of Melbourne. 2006