Package jadex.bpmn.model.task
Interface ITask
- All Known Implementing Classes:
AbstractTask
,CreateComponentTask
,DestroyComponentTask
,ExecuteStepTask
,ExternalTaskWrapper
,InvokeMethodTask
,LoggerTask
,MethodCallTask
,PojoTaskWrapper
,UserInteractionTask
,WriteContextTask
,WriteParameterTask
public interface ITask
Interface for domain specific tasks.
The implementation of a task is annotated in BPMN using the 'class' property.
-
Method Summary
Modifier and TypeMethodDescriptionjadex.future.IFuture
<Void> cancel
(jadex.core.IComponent instance) Cleanup in case the task is cancelled.jadex.future.IFuture
<Void> execute
(ITaskContext context, jadex.core.IComponent process) Execute the task.
-
Method Details
-
execute
Execute the task.- Parameters:
context
- The accessible values.process
- The process instance executing the task.- Returns:
- To be notified, when the task has completed.
-
cancel
Cleanup in case the task is cancelled.- Returns:
- A future to indicate when cancellation has completed.
-