com.novell.zos.grid
Interface WorkflowInfo

All Superinterfaces:
Serializable

public interface WorkflowInfo
extends Serializable

A WorkflowInfo can represent either a snapshot of a running instance or an historical record of an instance. It can be thought of as the client view of a Workflow which is its big sister that is active and runs in the server. Note: Workflow extends WorkflowInfo LiteWorkflowInfo implements WorkflowInfo Note: Setter methods should be put in Workflow and not in WorkflowInfo


Field Summary
static int CANCEL_TYPE_ADMIN
          Indicate Job was cancelled by admin.
static int CANCEL_TYPE_CONTINUE
          Indicates Job was cancelled due to not passing the continue constraint.
static int CANCEL_TYPE_JOB
          Indicate Job was cancelled by a Job function.
static int CANCEL_TYPE_TIMEOUT
          Indicate Job was cancelled due to exceeding the job timeout value.
static int CANCEL_TYPE_USER
          Indicate Job was cancelled by client user.
static int CANCELLED_STATE
          Cancelled.
static int CANCELLING_STATE
          Cancelling.
static int COMPLETED_STATE
          Completed.
static int COMPLETING_STATE
          Completing.
static String COST
           
static String COST_BURN_RATE
           
static String DESC_COST
           
static String DESC_COST_BURN_RATE
           
static String DESC_ERRORS
           
static String DESC_ID
           
static String DESC_INSTANCE_NAME
           
static String DESC_JOBLET_COUNT
           
static String DESC_JOBLET_SIZE
           
static String DESC_JOBLETS_CANCELLED
           
static String DESC_JOBLETS_COMPLETE
           
static String DESC_JOBLETS_FAILED
           
static String DESC_JOBLETS_RUNNING
           
static String DESC_JOBLETS_WAITING
           
static String DESC_MATCHING_RESOURCES
           
static String DESC_MEMO
           
static String DESC_NODES
           
static String DESC_NODES_COUNT
           
static String DESC_ORIGIN_JOBID
           
static String DESC_PARENT_JOBID
           
static String DESC_PREEMPTIBLE
           
static String DESC_PRIORITY
           
static String DESC_PRIORITY_STRING
           
static String DESC_PROBLEM_RESOURCES
           
static String DESC_PROBLEM_RESOURCES_COUNT
           
static String DESC_PROVISION_AVOID_RESOURCES
           
static String DESC_PROVISION_COUNT
           
static String DESC_PROVISION_PENDING_COUNT
           
static String DESC_PROVISION_PROBLEM_RESOURCES
           
static String DESC_PROVISION_PROBLEM_RESOURCES_COUNT
           
static String DESC_PSPACE_SIZE
           
static String DESC_START_AT_DATE
           
static String DESC_START_TIME
           
static String DESC_STATE
           
static String DESC_STATE_STRING
           
static String DESC_TERMINATION_TYPE
           
static String DESC_TIME_COMPLETED
           
static String DESC_TIME_ELAPSED_SECONDS
           
static String DESC_TIME_ELAPSED_STRING
           
static String DESC_TIME_QUEUED_SECONDS
           
static String DESC_TIME_STARTED
           
static String DESC_TIME_SUBMITTED
           
static String[] DYNAMIC_FACTS
           
static String ERRORS
           
static int FAILED_STATE
          Failed.
static int FAILING_STATE
          Failing.
static int FAILURE_TYPE_ACCEPT
          Indicates job failed due to not passing the accept constraint.
static int FAILURE_TYPE_NORMAL
          Indicates job failed due to normal job failure.
static String ID
           
static String INSTANCE_NAME
           
static String JOBLET_COUNT
           
static String JOBLET_SIZE
           
static String JOBLETS_CANCELLED
           
static String JOBLETS_COMPLETE
           
static String JOBLETS_FAILED
           
static String JOBLETS_RUNNING
           
static String JOBLETS_WAITING
           
static String MATCHING_RESOURCES
           
static String MEMO
           
static String NODES
           
static String NODES_COUNT
           
static String OBJECT_TYPE
           
static String ORIGIN_JOBID
           
static String PARENT_JOBID
           
static int PAUSED_STATE
          Paused.
static String PREEMPTIBLE
           
static String PREFIX
           
static String PRIORITY
           
static String PRIORITY_STRING
           
static String PROBLEM_RESOURCES
           
static String PROBLEM_RESOURCES_COUNT
           
static String PROVISION_AVOID_RESOURCES
           
static String PROVISION_COUNT
           
static String PROVISION_PENDING_COUNT
           
static String PROVISION_PROBLEM_RESOURCES
           
static String PROVISION_PROBLEM_RESOURCES_COUNT
           
static String PSPACE_SIZE
           
static int QUEUED_STATE
          Queued.
static int RUNNING_STATE
          Running.
static String START_AT_DATE
          Type: Date
static String START_TIME
           
static int STARTING_STATE
          Starting.
static String STATE
           
static String STATE_STRING
           
static String[] stateString
           
static int SUBMITTED_STATE
          Submitted.
static String TERMINATION_TYPE
           
static int TERMINATION_TYPE_NORMAL
           
static String[] terminationTypeString
           
static String TIME_COMPLETED
           
static String TIME_ELAPSED_SECONDS
           
static String TIME_ELAPSED_STRING
           
static String TIME_QUEUED_SECONDS
           
static String TIME_STARTED
           
static String TIME_SUBMITTED
           
static int UNDEFINED_PRIORITY
           
static String[] WRITEABLE_DYNAMIC_FACTS
           
 
Method Summary
 Map getArguments()
          The arguments are the parameters specified by the client when the job is run.
 double getBurnRate()
           
 int getChildJobCount()
           
 String getChildJobId(int i)
           
 String getDeployedJobName()
          The deployed job name minus the .jdl extension.
 String[] getExcludedNodeNames()
           
 int getExcludedNodesCount()
           
 String getGridId()
           
 int getInitialQueuePos()
           
 int getJobErrorCount()
           
 String getJobID()
          The unique jobid for this job.
 String getJobInstanceName()
          The human readable name given to this instance.
 int getJobletCount()
           
 int getJobletErrorCount()
           
 String[] getJobletErrors()
           
 int getJobletsCancelledCount()
           
 int getJobletsCompletedCount()
           
 int getJobletsFailedCount()
          Retrieve number of joblets that have failed and will not be retried.
 int getJobletsRunningCount()
           
 double getJobletsTotalCost()
           
 long getJobletsTotalGCycles()
           
 long getJobletsTotalWallTime()
           
 int getJobletsWaitingCount()
          Retrieve number of joblets waiting not including child jobs.
 String getMemo()
          The memo field that allows job to communicate status to user via mmc or web portal.
 int getNodeErrorCount()
           
 String[] getNodeErrors()
          Access errors on suspected bad (excluded) nodes during the run.
 int getNodeProvisionErrorCount()
           
 String[] getNodeProvisionErrors()
          Access errors on nodes that that problems while automatically being provisioned.
 String getOriginWorkflowID()
           
 String getParentWorkflowID()
           
 long getPauseTimeMillis()
           
 int getPercentComplete()
           
 int getPriority()
           
 String[] getProvisionBadNodeNames()
           
 int getProvisionBadNodesCount()
           
 int getQueuePos()
           
 int getQueueSize()
           
 long getQueueTimeMillis()
           
 int getResourceCount()
          More than one slot can be used, but resource only counted once.
 Map getResourceMap()
          Returns a Map of resources that are currently in use by this workflow.
 long getStartAtTime()
           
 int getState()
          Retrieve Workflow state
 String getStateAnnotation()
          Gets an optional annotation to the state.
 int getTerminationType()
          Retrieve Terminatation Type.
 long getTimeCompletedMillis()
           
 long getTimeElapsedMillis()
           
 long getTimeStartedMillis()
           
 long getTimeSubmittedMillis()
           
 double getTotalBurnRate()
           
 int getTotalChildJobCount()
           
 double getTotalCost()
           
 int getTotalExcludedNodesCount()
           
 long getTotalGCycles()
           
 int getTotalJobErrorCount()
           
 int getTotalJobletCount()
           
 int getTotalJobletErrorCount()
           
 int getTotalJobletsRunningCount()
           
 int getTotalNodeErrorCount()
           
 int getTotalNodeProvisionErrorCount()
           
 int getTotalProvisionBadNodesCount()
           
 int getTotalResourceCount()
           
 Map getTotalResourceMap()
          Returns a Map of resources that are currently in use by this workflow and all child workflows.
 long getTotalWallTime()
           
 String getUsername()
           
 String getWorkflowError()
          Get the reason why the job failed.
 boolean isActive()
          Is the job currently active
 boolean isOriginWorkflow()
           
 boolean isSystemJob()
           
 boolean isTimeCompletedEstimated()
           
 boolean isTimeStartedEstimated()
           
 boolean isWaitingForResources()
           
 

Field Detail

OBJECT_TYPE

static final String OBJECT_TYPE
See Also:
Constant Field Values

PREFIX

static final String PREFIX
See Also:
Constant Field Values

ID

static final String ID

DESC_ID

static final String DESC_ID
See Also:
Constant Field Values

PRIORITY

static final String PRIORITY
See Also:
Constant Field Values

DESC_PRIORITY

static final String DESC_PRIORITY
See Also:
Constant Field Values

PRIORITY_STRING

static final String PRIORITY_STRING
See Also:
Constant Field Values

DESC_PRIORITY_STRING

static final String DESC_PRIORITY_STRING
See Also:
Constant Field Values

INSTANCE_NAME

static final String INSTANCE_NAME
See Also:
Constant Field Values

DESC_INSTANCE_NAME

static final String DESC_INSTANCE_NAME
See Also:
Constant Field Values

MEMO

static final String MEMO
See Also:
Constant Field Values

DESC_MEMO

static final String DESC_MEMO
See Also:
Constant Field Values

START_TIME

static final String START_TIME
See Also:
Constant Field Values

DESC_START_TIME

static final String DESC_START_TIME
See Also:
Constant Field Values

START_AT_DATE

static final String START_AT_DATE
Type: Date

See Also:
Constant Field Values

DESC_START_AT_DATE

static final String DESC_START_AT_DATE
See Also:
Constant Field Values

PREEMPTIBLE

static final String PREEMPTIBLE
See Also:
Constant Field Values

DESC_PREEMPTIBLE

static final String DESC_PREEMPTIBLE
See Also:
Constant Field Values

PSPACE_SIZE

static final String PSPACE_SIZE
See Also:
Constant Field Values

JOBLET_SIZE

static final String JOBLET_SIZE
See Also:
Constant Field Values

DESC_JOBLET_SIZE

static final String DESC_JOBLET_SIZE
See Also:
Constant Field Values

DESC_PSPACE_SIZE

static final String DESC_PSPACE_SIZE
See Also:
Constant Field Values

JOBLET_COUNT

static final String JOBLET_COUNT
See Also:
Constant Field Values

DESC_JOBLET_COUNT

static final String DESC_JOBLET_COUNT
See Also:
Constant Field Values

JOBLETS_WAITING

static final String JOBLETS_WAITING
See Also:
Constant Field Values

DESC_JOBLETS_WAITING

static final String DESC_JOBLETS_WAITING
See Also:
Constant Field Values

JOBLETS_RUNNING

static final String JOBLETS_RUNNING
See Also:
Constant Field Values

DESC_JOBLETS_RUNNING

static final String DESC_JOBLETS_RUNNING
See Also:
Constant Field Values

JOBLETS_FAILED

static final String JOBLETS_FAILED
See Also:
Constant Field Values

DESC_JOBLETS_FAILED

static final String DESC_JOBLETS_FAILED
See Also:
Constant Field Values

JOBLETS_CANCELLED

static final String JOBLETS_CANCELLED
See Also:
Constant Field Values

DESC_JOBLETS_CANCELLED

static final String DESC_JOBLETS_CANCELLED
See Also:
Constant Field Values

JOBLETS_COMPLETE

static final String JOBLETS_COMPLETE
See Also:
Constant Field Values

DESC_JOBLETS_COMPLETE

static final String DESC_JOBLETS_COMPLETE
See Also:
Constant Field Values

NODES

static final String NODES
See Also:
Constant Field Values

DESC_NODES

static final String DESC_NODES
See Also:
Constant Field Values

NODES_COUNT

static final String NODES_COUNT
See Also:
Constant Field Values

DESC_NODES_COUNT

static final String DESC_NODES_COUNT
See Also:
Constant Field Values

COST

static final String COST
See Also:
Constant Field Values

DESC_COST

static final String DESC_COST
See Also:
Constant Field Values

COST_BURN_RATE

static final String COST_BURN_RATE
See Also:
Constant Field Values

DESC_COST_BURN_RATE

static final String DESC_COST_BURN_RATE
See Also:
Constant Field Values

TIME_SUBMITTED

static final String TIME_SUBMITTED
See Also:
Constant Field Values

DESC_TIME_SUBMITTED

static final String DESC_TIME_SUBMITTED
See Also:
Constant Field Values

TIME_STARTED

static final String TIME_STARTED
See Also:
Constant Field Values

DESC_TIME_STARTED

static final String DESC_TIME_STARTED
See Also:
Constant Field Values

TIME_ELAPSED_SECONDS

static final String TIME_ELAPSED_SECONDS
See Also:
Constant Field Values

DESC_TIME_ELAPSED_SECONDS

static final String DESC_TIME_ELAPSED_SECONDS
See Also:
Constant Field Values

TIME_QUEUED_SECONDS

static final String TIME_QUEUED_SECONDS
See Also:
Constant Field Values

DESC_TIME_QUEUED_SECONDS

static final String DESC_TIME_QUEUED_SECONDS
See Also:
Constant Field Values

TIME_ELAPSED_STRING

static final String TIME_ELAPSED_STRING
See Also:
Constant Field Values

DESC_TIME_ELAPSED_STRING

static final String DESC_TIME_ELAPSED_STRING
See Also:
Constant Field Values

TIME_COMPLETED

static final String TIME_COMPLETED
See Also:
Constant Field Values

DESC_TIME_COMPLETED

static final String DESC_TIME_COMPLETED
See Also:
Constant Field Values

MATCHING_RESOURCES

static final String MATCHING_RESOURCES
See Also:
Constant Field Values

DESC_MATCHING_RESOURCES

static final String DESC_MATCHING_RESOURCES
See Also:
Constant Field Values

STATE

static final String STATE
See Also:
Constant Field Values

DESC_STATE

static final String DESC_STATE
See Also:
Constant Field Values

STATE_STRING

static final String STATE_STRING
See Also:
Constant Field Values

DESC_STATE_STRING

static final String DESC_STATE_STRING
See Also:
Constant Field Values

PROBLEM_RESOURCES

static final String PROBLEM_RESOURCES
See Also:
Constant Field Values

DESC_PROBLEM_RESOURCES

static final String DESC_PROBLEM_RESOURCES

PROBLEM_RESOURCES_COUNT

static final String PROBLEM_RESOURCES_COUNT
See Also:
Constant Field Values

DESC_PROBLEM_RESOURCES_COUNT

static final String DESC_PROBLEM_RESOURCES_COUNT

ERRORS

static final String ERRORS
See Also:
Constant Field Values

DESC_ERRORS

static final String DESC_ERRORS
See Also:
Constant Field Values

TERMINATION_TYPE

static final String TERMINATION_TYPE
See Also:
Constant Field Values

DESC_TERMINATION_TYPE

static final String DESC_TERMINATION_TYPE
See Also:
Constant Field Values

ORIGIN_JOBID

static final String ORIGIN_JOBID
See Also:
Constant Field Values

DESC_ORIGIN_JOBID

static final String DESC_ORIGIN_JOBID
See Also:
Constant Field Values

PARENT_JOBID

static final String PARENT_JOBID
See Also:
Constant Field Values

DESC_PARENT_JOBID

static final String DESC_PARENT_JOBID
See Also:
Constant Field Values

PROVISION_COUNT

static final String PROVISION_COUNT
See Also:
Constant Field Values

DESC_PROVISION_COUNT

static final String DESC_PROVISION_COUNT
See Also:
Constant Field Values

PROVISION_PENDING_COUNT

static final String PROVISION_PENDING_COUNT
See Also:
Constant Field Values

DESC_PROVISION_PENDING_COUNT

static final String DESC_PROVISION_PENDING_COUNT
See Also:
Constant Field Values

PROVISION_PROBLEM_RESOURCES

static final String PROVISION_PROBLEM_RESOURCES
See Also:
Constant Field Values

DESC_PROVISION_PROBLEM_RESOURCES

static final String DESC_PROVISION_PROBLEM_RESOURCES
See Also:
Constant Field Values

PROVISION_AVOID_RESOURCES

static final String PROVISION_AVOID_RESOURCES
See Also:
Constant Field Values

DESC_PROVISION_AVOID_RESOURCES

static final String DESC_PROVISION_AVOID_RESOURCES
See Also:
Constant Field Values

PROVISION_PROBLEM_RESOURCES_COUNT

static final String PROVISION_PROBLEM_RESOURCES_COUNT
See Also:
Constant Field Values

DESC_PROVISION_PROBLEM_RESOURCES_COUNT

static final String DESC_PROVISION_PROBLEM_RESOURCES_COUNT
See Also:
Constant Field Values

DYNAMIC_FACTS

static final String[] DYNAMIC_FACTS

WRITEABLE_DYNAMIC_FACTS

static final String[] WRITEABLE_DYNAMIC_FACTS

stateString

static final String[] stateString

SUBMITTED_STATE

static final int SUBMITTED_STATE
Submitted. Transitions to: Queued/Failing

See Also:
Constant Field Values

QUEUED_STATE

static final int QUEUED_STATE
Queued. Transitions to: Starting/Failing/Cancelling

See Also:
Constant Field Values

STARTING_STATE

static final int STARTING_STATE
Starting. Transistions to: Running/Failing/Cancelling

See Also:
Constant Field Values

RUNNING_STATE

static final int RUNNING_STATE
Running. Transistions to: Paused/Completing/Failing/Cancelling

See Also:
Constant Field Values

PAUSED_STATE

static final int PAUSED_STATE
Paused. Transitions to: Running/Completing/Failing/Cancelling

See Also:
Constant Field Values

COMPLETING_STATE

static final int COMPLETING_STATE
Completing. Transitions to: Completing

See Also:
Constant Field Values

CANCELLING_STATE

static final int CANCELLING_STATE
Cancelling. Transistions to: Cancelled

See Also:
Constant Field Values

FAILING_STATE

static final int FAILING_STATE
Failing. Transitions to: Failed

See Also:
Constant Field Values

COMPLETED_STATE

static final int COMPLETED_STATE
Completed.

See Also:
Constant Field Values

CANCELLED_STATE

static final int CANCELLED_STATE
Cancelled.

See Also:
Constant Field Values

FAILED_STATE

static final int FAILED_STATE
Failed.

See Also:
Constant Field Values

UNDEFINED_PRIORITY

static final int UNDEFINED_PRIORITY
See Also:
Constant Field Values

TERMINATION_TYPE_NORMAL

static final int TERMINATION_TYPE_NORMAL
See Also:
Constant Field Values

CANCEL_TYPE_USER

static final int CANCEL_TYPE_USER
Indicate Job was cancelled by client user. (Only applies if Job is in CANCELLED_STATE)

See Also:
Constant Field Values

CANCEL_TYPE_ADMIN

static final int CANCEL_TYPE_ADMIN
Indicate Job was cancelled by admin. (Only applies if Job is in CANCELLED_STATE)

See Also:
Constant Field Values

CANCEL_TYPE_JOB

static final int CANCEL_TYPE_JOB
Indicate Job was cancelled by a Job function. (Only applies if Job is in CANCELLED_STATE)

See Also:
Constant Field Values

CANCEL_TYPE_TIMEOUT

static final int CANCEL_TYPE_TIMEOUT
Indicate Job was cancelled due to exceeding the job timeout value. (Only applies if Job is in CANCELLED_STATE)

See Also:
Constant Field Values

CANCEL_TYPE_CONTINUE

static final int CANCEL_TYPE_CONTINUE
Indicates Job was cancelled due to not passing the continue constraint. (Only applies if Job is in CANCELLED_STATE)

See Also:
Constant Field Values

FAILURE_TYPE_NORMAL

static final int FAILURE_TYPE_NORMAL
Indicates job failed due to normal job failure. (Only applies if Job is in FAILED_STATE)

See Also:
Constant Field Values

FAILURE_TYPE_ACCEPT

static final int FAILURE_TYPE_ACCEPT
Indicates job failed due to not passing the accept constraint. (Only applies if Job is in FAILED_STATE)

See Also:
Constant Field Values

terminationTypeString

static final String[] terminationTypeString
Method Detail

getTerminationType

int getTerminationType()
Retrieve Terminatation Type. Only applies if state is CANCELLED or FAILED.

Returns:
termination type

getState

int getState()
Retrieve Workflow state

Returns:
state constant

getStateAnnotation

String getStateAnnotation()
Gets an optional annotation to the state. E.g. the reason why the workflow has not started (start constraint) who paused a job

Returns:
state annotation message

isActive

boolean isActive()
Is the job currently active


getJobInstanceName

String getJobInstanceName()
The human readable name given to this instance. used for INSTANCE_NAME


getDeployedJobName

String getDeployedJobName()
The deployed job name minus the .jdl extension.


getMemo

String getMemo()
The memo field that allows job to communicate status to user via mmc or web portal. used for MEMO


getJobID

String getJobID()
The unique jobid for this job.


getUsername

String getUsername()
Returns:
the name of the user running this workflow.

getGridId

String getGridId()
Returns:
the name identifier for the grid this workflow is running on added for the portal

getTotalWallTime

long getTotalWallTime()
Returns:
the total wall time in milliseconds for just this job

getTotalGCycles

long getTotalGCycles()
Returns:
the total gcycles consumed by this job and all subjobs. These are normalized CPU milliseconds.

getTotalCost

double getTotalCost()

getTotalResourceCount

int getTotalResourceCount()
Returns:
the total number of resources in use by this job and sub jobs

getTotalBurnRate

double getTotalBurnRate()

getJobletCount

int getJobletCount()
Returns:
the int number of joblets

getJobletsRunningCount

int getJobletsRunningCount()

getJobletsWaitingCount

int getJobletsWaitingCount()
Retrieve number of joblets waiting not including child jobs.

Returns:
the number of joblets waiting by this job

getJobletsFailedCount

int getJobletsFailedCount()
Retrieve number of joblets that have failed and will not be retried. Same as Workflow.getJobletStateCount(Joblet.FAILED_STATE)

Returns:
the number of failed joblets.

getJobletsCancelledCount

int getJobletsCancelledCount()

getJobletsCompletedCount

int getJobletsCompletedCount()

getTotalJobletCount

int getTotalJobletCount()
Returns:
the int total joblets include its child job's joblets

getTotalJobletsRunningCount

int getTotalJobletsRunningCount()

getTotalChildJobCount

int getTotalChildJobCount()
Returns:
the int total jobs including its child jobs

getJobletsTotalWallTime

long getJobletsTotalWallTime()

getJobletsTotalGCycles

long getJobletsTotalGCycles()

getJobletsTotalCost

double getJobletsTotalCost()

getBurnRate

double getBurnRate()

getResourceCount

int getResourceCount()
More than one slot can be used, but resource only counted once.

Returns:
the number of resources in use by this job

getResourceMap

Map getResourceMap()
Returns a Map of resources that are currently in use by this workflow. The keys are the node ID's and the value is an Integer count of the number of slots in use. This is a synchronized map, the caller must synchronize if iterating.

Returns:
the resource Map

getTotalResourceMap

Map getTotalResourceMap()
Returns a Map of resources that are currently in use by this workflow and all child workflows. The keys are the node ID's and the value is an Integer count of the number of slots in use. This is a synchronized map, the caller must synchronize if iterating.

Returns:
the resource Map

getChildJobCount

int getChildJobCount()
Returns:
the number of child jobs

getChildJobId

String getChildJobId(int i)
Returns:
the id for the nth child job or null if does not exist

getTimeSubmittedMillis

long getTimeSubmittedMillis()

getTimeStartedMillis

long getTimeStartedMillis()

isTimeStartedEstimated

boolean isTimeStartedEstimated()

getTimeCompletedMillis

long getTimeCompletedMillis()

isTimeCompletedEstimated

boolean isTimeCompletedEstimated()

getTimeElapsedMillis

long getTimeElapsedMillis()
Returns:
the elapsed runtime of this job

getPercentComplete

int getPercentComplete()

getPriority

int getPriority()

getOriginWorkflowID

String getOriginWorkflowID()

isOriginWorkflow

boolean isOriginWorkflow()

isWaitingForResources

boolean isWaitingForResources()

getParentWorkflowID

String getParentWorkflowID()

isSystemJob

boolean isSystemJob()

getArguments

Map getArguments()
The arguments are the parameters specified by the client when the job is run.


getJobletErrors

String[] getJobletErrors()
Returns:
an array of all joblet errors for this job.

getJobletErrorCount

int getJobletErrorCount()
Returns:
the number of joblet errors (retries and fatal).

getTotalJobletErrorCount

int getTotalJobletErrorCount()
Returns:
the number of recorded joblet retries inthis job and all sub jobs

getWorkflowError

String getWorkflowError()
Get the reason why the job failed. Also written to the job log. There is no count of these because the first one is fatal. There could possibly be multiple error lines created as the workflow winds up.

Returns:
the formatted error string

getJobErrorCount

int getJobErrorCount()
Returns:
the number of recorded job errors (workflow and joblet)

getTotalJobErrorCount

int getTotalJobErrorCount()
Returns:
the number of recorded job errors in this job and all sub jobs

getNodeErrors

String[] getNodeErrors()
Access errors on suspected bad (excluded) nodes during the run.

Returns:
an array of individual node errors.

getNodeErrorCount

int getNodeErrorCount()
Returns:
the number of recorded node errors.

getTotalNodeErrorCount

int getTotalNodeErrorCount()
Returns:
the number of recorded nodes errors in this job and all sub jobs.

getExcludedNodeNames

String[] getExcludedNodeNames()
Returns:
the array of nodes that are current excluded for this job.

getExcludedNodesCount

int getExcludedNodesCount()
Returns:
the number of excluded nodes.

getTotalExcludedNodesCount

int getTotalExcludedNodesCount()
Returns:
the number of excluded nodes in this job and all subjobs.

getNodeProvisionErrors

String[] getNodeProvisionErrors()
Access errors on nodes that that problems while automatically being provisioned. The errors are not necessarily fatal.

Returns:
an array of individual node provision errors.

getNodeProvisionErrorCount

int getNodeProvisionErrorCount()
Returns:
the number of recorded automatic provision errors.

getTotalNodeProvisionErrorCount

int getTotalNodeProvisionErrorCount()
Returns:
the number of recorded node provision errors in this job and all sub jobs.

getProvisionBadNodeNames

String[] getProvisionBadNodeNames()
Returns:
the array of automatic provisions that failed.

getProvisionBadNodesCount

int getProvisionBadNodesCount()
Returns:
the number of automatic provision that failed.

getTotalProvisionBadNodesCount

int getTotalProvisionBadNodesCount()
Returns:
the number of automatic provision that failed for this job and all subjobs.

getStartAtTime

long getStartAtTime()

getPauseTimeMillis

long getPauseTimeMillis()
Returns:
the amount of wall time this job spent in a 'paused' state

getQueueTimeMillis

long getQueueTimeMillis()
Returns:
the amount of wall time this job spent in a 'queued' state

getQueuePos

int getQueuePos()
Returns:
the current queue position or '-1' if unknown. Only valid if job is in a queued state.

getQueueSize

int getQueueSize()
Returns:
the current queue size or '-1' if unknown. Only valid if job is in a queued state.

getInitialQueuePos

int getInitialQueuePos()
Returns:
the initial queue position for averaging the queue time


Copyright 2008 Novell, Inc. All Rights Reserved.