Class HandleForcesPlan
- java.lang.Object
-
- jadex.bdiv3.examples.disastermanagement.commander.HandleForcesPlan
-
- Direct Known Subclasses:
HandleAmbulancesPlan
,HandleFireBrigadesClearChemicalsPlan
,HandleFireBrigadesExtinguishFiresPlan
public abstract class HandleForcesPlan extends java.lang.Object
Handle forces by sending an appropriate number to the disaster site..
-
-
Field Summary
Fields Modifier and Type Field Description protected CommanderAgent
capa
protected IForcesGoal
goal
protected IPlan
rplan
-
Constructor Summary
Constructors Constructor Description HandleForcesPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allocateForces(java.lang.String servicename, java.lang.String typename)
The body method is called on the instantiated plan instance from the scheduler.void
failure(java.lang.Exception e)
-
-
-
Field Detail
-
capa
protected CommanderAgent capa
-
rplan
protected IPlan rplan
-
goal
protected IForcesGoal goal
-
-