public interface IPlanExecutor
Modifier and Type | Method and Description |
---|---|
void |
cleanup(BDIInterpreter interpreter,
Object rplan)
Cleanup after plan execution.
|
Object |
createPlanBody(BDIInterpreter interpreter,
Object rplan,
Object rcapability)
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.
|
Object |
getMonitor(Object rplan)
Get the monitor of a plan.
|
void |
interruptPlanStep(Object rplan)
Interrupt a plan step during execution (micro plan step).
|
Object createPlanBody(BDIInterpreter interpreter, Object rplan, Object rcapability) throws Exception
plan
- The plan.Exception
boolean executePlanStep(BDIInterpreter interpreter, Object rcapability, Object rplan) throws Exception
Exception
boolean executePassedStep(BDIInterpreter interpreter, Object rplan) throws Exception
Exception
boolean executeFailedStep(BDIInterpreter interpreter, Object rplan) throws Exception
Exception
boolean executeAbortedStep(BDIInterpreter interpreter, Object rplan) throws Exception
Exception
void interruptPlanStep(Object rplan)
rplan
- The plan handle.void cleanup(BDIInterpreter interpreter, Object rplan)
void eventWaitFor(BDIInterpreter interpreter, Object rplan)
Copyright © 2012. All Rights Reserved.