Class TreatVictimsPlan
- java.lang.Object
-
- jadex.bdiv3.examples.disastermanagement.commander.TreatVictimsPlan
-
public class TreatVictimsPlan extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ITerminableFuture<java.lang.Void>tvThe service future.
-
Constructor Summary
Constructors Constructor Description TreatVictimsPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaborted()Called when the plan is aborted.voidbody(CommanderAgent.SendRescueForce goal)The body method is called on the instantiated plan instance from the scheduler.booleancheckPrecondition(CommanderAgent.SendRescueForce goal)
-
-
-
Field Detail
-
tv
protected ITerminableFuture<java.lang.Void> tv
The service future.
-
-
Method Detail
-
body
public void body(CommanderAgent.SendRescueForce goal)
The body method is called on the instantiated plan instance from the scheduler.
-
aborted
public void aborted()
Called when the plan is aborted.
-
checkPrecondition
public boolean checkPrecondition(CommanderAgent.SendRescueForce goal)
-
-