Package jadex.bpmn.runtime.exttask
Class ExternalTaskWrapper
- java.lang.Object
-
- jadex.bpmn.runtime.exttask.ExternalTaskWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalTaskWrapper.ExternalTaskContext
Transferrable context.
-
Constructor Summary
Constructors Constructor Description ExternalTaskWrapper(ITask task)
Create a new wrapper task.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
cancel(IInternalAccess process)
Cleanup in case the task is cancelled.IFuture<java.lang.Void>
execute(ITaskContext context, IInternalAccess process)
Execute the task.
-
-
-
Field Detail
-
task
protected ITask task
The pojo task.
-
-
Constructor Detail
-
ExternalTaskWrapper
public ExternalTaskWrapper(ITask task)
Create a new wrapper task.
-
-
Method Detail
-
execute
public IFuture<java.lang.Void> execute(ITaskContext context, IInternalAccess process)
Execute the task.
-
cancel
public IFuture<java.lang.Void> cancel(IInternalAccess process)
Cleanup in case the task is cancelled.
-
-