public class BpmnPlanExecutor extends Object implements IPlanExecutor, Serializable
| Constructor and Description |
|---|
BpmnPlanExecutor()
Create a new BPMN plan executor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(BDIInterpreter interpreter,
Object rplan)
Called on termination of a plan.
|
Object |
createPlanBody(BDIInterpreter interpreter,
Object rcapability,
Object rplan)
Create the body of a plan.
|
void |
eventWaitFor(BDIInterpreter interpreter,
Object rplan)
Block a plan until an event matching the wait abstraction occurs.
|
boolean |
executeAbortedStep(BDIInterpreter interpreter,
Object rplan)
Execute a step of the plans aborted() code.
|
boolean |
executeFailedStep(BDIInterpreter interpreter,
Object rplan)
Execute a step of the plans failed() code.
|
boolean |
executePassedStep(BDIInterpreter interpreter,
Object rplan)
Execute a step of the plans passed() code.
|
boolean |
executePlanStep(BDIInterpreter interpreter,
Object rcapability,
Object rplan)
Execute a step of a plan.
|
boolean |
executeStep(BDIInterpreter interpreter,
Object rcapa,
Object rplan,
String steptype)
Execute a step of a BPMN plan.
|
Object |
getMonitor(Object rplan)
Get the monitor of a plan.
|
void |
interruptPlanStep(Object rplan)
Interrupt a plan step during execution.
|
public Object createPlanBody(BDIInterpreter interpreter, Object rcapability, Object rplan) throws Exception
createPlanBody in interface IPlanExecutorrplan - The rplan.Exceptionpublic boolean executeStep(BDIInterpreter interpreter, Object rcapa, Object rplan, String steptype) throws Exception
Exceptionpublic boolean executePlanStep(BDIInterpreter interpreter, Object rcapability, Object rplan) throws Exception
executePlanStep in interface IPlanExecutorExceptionpublic boolean executePassedStep(BDIInterpreter interpreter, Object rplan) throws Exception
executePassedStep in interface IPlanExecutorExceptionpublic boolean executeFailedStep(BDIInterpreter interpreter, Object rplan) throws Exception
executeFailedStep in interface IPlanExecutorExceptionpublic boolean executeAbortedStep(BDIInterpreter interpreter, Object rplan) throws Exception
executeAbortedStep in interface IPlanExecutorExceptionpublic void interruptPlanStep(Object rplan)
interruptPlanStep in interface IPlanExecutorrplan - The plan handle.public void eventWaitFor(BDIInterpreter interpreter, Object rplan)
eventWaitFor in interface IPlanExecutorpublic void cleanup(BDIInterpreter interpreter, Object rplan)
cleanup in interface IPlanExecutorpublic Object getMonitor(Object rplan)
getMonitor in interface IPlanExecutorCopyright © 2012. All Rights Reserved.