public class ParallelGoalPlanBody extends AbstractPlanBody implements OutputPlanBody
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Goal> |
completedGoals |
protected boolean |
dispatched |
protected GoalEvent |
failedGoal |
protected org.apache.commons.logging.Log |
log |
protected ParallelGoal |
parallelGoal |
| Constructor and Description |
|---|
ParallelGoalPlanBody()
Created a new ParallelGoalPlan.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action() |
void |
onStart()
Initializes this plan.
|
void |
setGoalOutput(Goal goal)
Sets the output parameters in the goal.
|
dispatchGoal, dispatchProtectedGoal, dispatchProtectedSubgoal, dispatchProtectedSubgoalAndListen, dispatchSubgoal, dispatchSubgoalAndListen, done, getBeliefBase, getEndState, getGoal, getGoalEvent, getGoalEvent, getGoalEvent, getPlan, goalPerformed, init, setEndState, start, stopactionWrapper, block, block, getAgent, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, handle, handleBlockEvent, handleRestartEvent, isRunnable, onEnd, reset, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionStateprotected java.util.List<Goal> completedGoals
protected boolean dispatched
protected GoalEvent failedGoal
protected org.apache.commons.logging.Log log
protected ParallelGoal parallelGoal
public ParallelGoalPlanBody()
public void action()
action in class jade.core.behaviours.BehaviourBehaviour.action()public void onStart()
public void setGoalOutput(Goal goal)
OutputPlanBodysetGoalOutput in interface OutputPlanBodygoal - the goal whose output parameters are to be set.OutputPlanBody.setGoalOutput(bdi4jade.goal.Goal)