|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

RETURN - Type of object that is returned by this action every time it is evaluated.public interface IAction
Primitive representation used in StateWorkExecutor. This primitive is
executed in phases: first is called init, then run is called, until
executor decides it is time to switch to another primtive. Before init of
new primtive is called, done of previous primitive is called.
| Method Summary | |
|---|---|
void |
done(VariableContext params)
This action is done, according to posh plan, some other IAction is
supposed to execute, therefore use this to clean up the mess. |
void |
init(VariableContext params)
Initialize action. |
ActionResult |
run(VariableContext params)
Run is called every time evaluation of posh plan determines that this and no other action is the one that is supposed to execute. |
| Method Detail |
|---|
void init(VariableContext params)
params - Variable context that is passed from posh plan to the primitiveActionResult run(VariableContext params)
params - Variable context passed from posh plan to the primtive
void done(VariableContext params)
IAction is
supposed to execute, therefore use this to clean up the mess.
params -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||