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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ControllerActionVisitor visitor) Accepts the specified visitor.voidrunInitialize(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, runCleanupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface repast.simphony.engine.environment.ControllerAction
batchCleanup, batchInitialize, runCleanup
-
Constructor Details
-
DefaultSchedulableAction
-
-
Method Details
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescriptorControllerAction<SchedulableDescriptor>
-
runInitialize
Schedules on the model schedule the descriptor's IAction with the descriptor's ScheduleParameters.- Specified by:
runInitializein interfaceControllerAction- Overrides:
runInitializein classDefaultControllerAction- Parameters:
RunState- the RunState to grab the model schedule fromcontextId- ignoredrunParams- ignored
-
accept
Accepts the specified visitor.- Parameters:
visitor- the visitor to accept
-