Package jadex.bdi.runtime.impl
Class ExecutePlanStepAction
java.lang.Object
jadex.bdi.runtime.impl.ExecutePlanStepAction
- All Implemented Interfaces:
Runnable
Action for executing a plan step.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
rplan
The plan.
-
-
Constructor Details
-
ExecutePlanStepAction
Create a new action.
-
-
Method Details
-
isValid
public boolean isValid()Test if the action is valid.- Returns:
- True, if action is valid.
-
run
public void run()Execute the command. -
getRPlan
Get the rplan. -
checkContextCondition
protected boolean checkContextCondition()Check the context condition.- Returns:
- True if context is ok.
-
toString
Return a string.
-