Class DefaultSchedulableAction
java.lang.Object
repast.simphony.engine.environment.DefaultControllerAction
repast.simphony.engine.controller.DefaultSchedulableAction
- All Implemented Interfaces:
DescriptorControllerAction<SchedulableDescriptor>
,ControllerAction
public class DefaultSchedulableAction
extends DefaultControllerAction
implements DescriptorControllerAction<SchedulableDescriptor>
An action that takes a
SchedulableDescriptor
and will
schedule it to the model's schedule.- Author:
- Jerry Vos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ControllerActionVisitor visitor) Accepts the specified visitor.void
runInitialize
(RunState runState, Object contextId, Parameters runParams) Schedules on the model schedule the descriptor's IAction with the descriptor's ScheduleParameters.Methods inherited from class repast.simphony.engine.environment.DefaultControllerAction
batchCleanup, batchInitialize, runCleanup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface repast.simphony.engine.environment.ControllerAction
batchCleanup, batchInitialize, runCleanup
-
Constructor Details
-
DefaultSchedulableAction
-
-
Method Details
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescriptorControllerAction<SchedulableDescriptor>
-
runInitialize
Schedules on the model schedule the descriptor's IAction with the descriptor's ScheduleParameters.- Specified by:
runInitialize
in interfaceControllerAction
- Overrides:
runInitialize
in classDefaultControllerAction
- Parameters:
RunState
- the RunState to grab the model schedule fromcontextId
- ignoredrunParams
- ignored
-
accept
Accepts the specified visitor.- Parameters:
visitor
- the visitor to accept
-