public abstract class AbstractTask extends Object implements ITask
Constructor and Description |
---|
AbstractTask() |
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
cancel(BpmnInterpreter instance)
Cleanup in case the task is cancelled.
|
abstract void |
doExecute(ITaskContext context,
BpmnInterpreter instance)
Execute the task.
|
IFuture<Void> |
execute(ITaskContext context,
BpmnInterpreter instance)
Execute the task.
|
public IFuture<Void> execute(ITaskContext context, BpmnInterpreter instance)
public IFuture<Void> cancel(BpmnInterpreter instance)
public abstract void doExecute(ITaskContext context, BpmnInterpreter instance) throws Exception
context
- The accessible values.instance
- The process instance executing the task.Exception
- When task execution fails.Copyright © 2012. All Rights Reserved.