Constructor and Description |
---|
FinishTaskWorker() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
perform(TaskContext taskContext)
Performs a computation on the data available in the
TaskContext , such as a task for this worker, input and
(if configured) output slots. |
void |
setJobTaskProcessor(JobTaskProcessor jobTaskProcessor)
Sets the reference to the JobTaskProcessor service.
|
void |
unsetJobTaskProcessor(JobTaskProcessor jobTaskProcessor)
Resets the reference to the JobTaskProcessor service to null if the given jobTaskProcessor instance is set.
|
public java.lang.String getName()
public void perform(TaskContext taskContext) throws java.lang.Exception
TaskContext
, such as a task for this worker, input and
(if configured) output slots. An implementor must make sure, calls to this method must be thread-safe!public void setJobTaskProcessor(JobTaskProcessor jobTaskProcessor)
jobTaskProcessor
- the reference to the JobTaskProcessor service.public void unsetJobTaskProcessor(JobTaskProcessor jobTaskProcessor)
jobTaskProcessor
- the reference to the current JobTaskProcessor service.