Package repast.simphony.engine.watcher
Class DefaultTriggerScheduler
java.lang.Object
repast.simphony.engine.watcher.AbstractTriggerScheduler
repast.simphony.engine.watcher.DefaultTriggerScheduler
- All Implemented Interfaces:
TriggerScheduler
Schedules the execution of trigger on a list of watchers at
the time defined by the Watch.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.engine.watcher.AbstractTriggerScheduler
amtToTrigger, condition, queryCondition, shuffle, trigger
-
Constructor Summary
ConstructorDescriptionDefaultTriggerScheduler
(repast.simphony.engine.watcher.NotifierTrigger trigger, ISchedule schedule, WatchParameters watchParams, IBooleanExpression condition) -
Method Summary
Modifier and TypeMethodDescriptionvoid
scheduleExecution
(Notifier2 notifier, Object watchee, Object value) Scheduled the execution of the trigger for all watchers managed by the notifier.
-
Constructor Details
-
DefaultTriggerScheduler
public DefaultTriggerScheduler(repast.simphony.engine.watcher.NotifierTrigger trigger, ISchedule schedule, WatchParameters watchParams, IBooleanExpression condition)
-
-
Method Details
-
scheduleExecution
Scheduled the execution of the trigger for all watchers managed by the notifier.- Parameters:
notifier
- the notifier responsible for this particular watchwatchee
- the watcheevalue
- the new field value.
-