Class HandleDisasterPlan
- java.lang.Object
-
- jadex.bdiv3x.runtime.Plan
-
- jadex.bdi.examples.disastermanagement.commander.HandleDisasterPlan
-
public class HandleDisasterPlan extends Plan
Handle a disaster by assigning units.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.Plan
Plan.PlanWaitAbstraction
-
-
Constructor Summary
Constructors Constructor Description HandleDisasterPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aborted()
The plan was aborted (because of conditional goal success or termination from outside).void
body()
The body method is called on the instantiated plan instance from the scheduler.void
failed()
The failed method is called on plan failure/abort.-
Methods inherited from class jadex.bdiv3x.runtime.Plan
checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, passed, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
-
-
-
-
Method Detail
-
body
public void body()
The body method is called on the instantiated plan instance from the scheduler.
-
aborted
public void aborted()
Description copied from class:Plan
The plan was aborted (because of conditional goal success or termination from outside).
-
-