Class SchedulingControllerAction
java.lang.Object
repast.simphony.engine.environment.DefaultControllerAction
repast.simphony.engine.controller.SchedulingControllerAction
- All Implemented Interfaces:
ControllerAction
- Direct Known Subclasses:
FreezerControllerAction
This is a simple action that schedules an
IAction
in its
runInitialize(RunState, Object, Parameters)
method using a given
ScheduleParameters
.- Author:
- Jerry Vos
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSchedulingControllerAction
(ScheduleParameters scheduleParams, IAction action) Constructs this with the specified parameters and action to be scheduled during the sim's initialization. -
Method Summary
Modifier and TypeMethodDescriptionvoid
runInitialize
(RunState runState, Object contextId, Parameters runParams) Schedule's the action with the schedule parameters on the schedule.Methods inherited from class repast.simphony.engine.environment.DefaultControllerAction
batchCleanup, batchInitialize, runCleanup
-
Field Details
-
action
-
scheduleParams
-
-
Constructor Details
-
SchedulingControllerAction
Constructs this with the specified parameters and action to be scheduled during the sim's initialization.- Parameters:
scheduleParams
- the schedule's parametersaction
- the action to schedule
-
-
Method Details
-
runInitialize
Schedule's the action with the schedule parameters on the schedule.- Specified by:
runInitialize
in interfaceControllerAction
- Overrides:
runInitialize
in classDefaultControllerAction
- Parameters:
runState
- ignoredcontextId
- ignoredrunParams
- ignored
-