Package jadex.bpmn.model.task
Interface ITask
-
- All Known Implementing Classes:
A,AbstractTask,AsynchronousOKTask,B,ChoosePlatformTask,CompensationTestTask,CreateComponentTask,CreatePlatformTask,DestroyComponentTask,ExceptionTask,ExecuteStepTask,ExternalTaskWrapper,GetTimeTask,InvokeMethodTask,LoggerTask,MethodCallTask,OKTask,PojoTaskWrapper,ServiceCallTask,ServicePoolTask,TestCaseReportTask,UserInteractionTask,WriteContextTask,WriteParameterTask
public interface ITaskInterface for domain specific tasks. The implementation of a task is annotated in BPMN using the 'class' property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>cancel(IInternalAccess instance)Cleanup in case the task is cancelled.IFuture<java.lang.Void>execute(ITaskContext context, IInternalAccess process)Execute the task.
-
-
-
Method Detail
-
execute
IFuture<java.lang.Void> execute(ITaskContext context, IInternalAccess process)
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
IFuture<java.lang.Void> cancel(IInternalAccess instance)
Cleanup in case the task is cancelled.- Returns:
- A future to indicate when cancellation has completed.
-
-