public class TaskJob extends Object implements JobInstance, WorkflowStatus, CoreMetKeys
A Resource Manager Job
that runs an underlying WorkflowTask
.
CREATED, ERROR, FINISHED, METADATA_MISSING, PAUSED, QUEUED, RESMGR_SUBMIT, STARTED
JOB_ID, PROCESSING_NODE, QUEUE_NAME, TASK_ID, TASK_LOAD, WORKFLOW_ID, WORKFLOW_INST_ID, WORKFLOW_MANAGER_URL, WORKFLOW_NAME
Constructor and Description |
---|
TaskJob()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(JobInput in)
Executes the underlying code for this job.
|
public boolean execute(JobInput in) throws JobInputException
JobInstance
execute
in interface JobInstance
in
- The Job's input.JobInputException
- If there was an error handling the JobInput
.Copyright © 1999–2017 Apache OODT. All rights reserved.