Package jadex.bpmn.runtime.exttask
Class ExternalTaskWrapper
java.lang.Object
jadex.bpmn.runtime.exttask.ExternalTaskWrapper
- All Implemented Interfaces:
ITask
Wrapper for executing a task on a worker agent.
Workers have to implement ITaskExecutionService.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Transferrable context. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjadex.future.IFuture
<Void> cancel
(jadex.core.IComponent process) Cleanup in case the task is cancelled.jadex.future.IFuture
<Void> execute
(ITaskContext context, jadex.core.IComponent process) Execute the task.
-
Field Details
-
task
The pojo task.
-
-
Constructor Details
-
ExternalTaskWrapper
Create a new wrapper task.
-
-
Method Details
-
execute
Execute the task. -
cancel
Cleanup in case the task is cancelled.
-