public abstract class AbstractTask extends Object implements ITask
| Constructor and Description |
|---|
AbstractTask() |
| Modifier and Type | Method and Description |
|---|---|
IFuture<Void> |
compensate(BpmnInterpreter instance)
Compensate in case the task is canceled.
|
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> compensate(BpmnInterpreter instance)
compensate in interface ITaskpublic 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.