Package repast.simphony.engine.schedule
Class DefaultSchedulableDescriptor
java.lang.Object
repast.simphony.engine.schedule.DefaultDescriptor
repast.simphony.engine.schedule.DefaultSchedulableDescriptor
- All Implemented Interfaces:
Descriptor
,SchedulableDescriptor
public class DefaultSchedulableDescriptor
extends DefaultDescriptor
implements SchedulableDescriptor
Default implementation of a
SchedulableDescriptor
.- Version:
- $Revision: 1.1 $ $Date: 2005/12/21 22:25:34 $
- Author:
- Jerry Vos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the action to be scheduled.Retrieves the parameters for when the action should occur.void
Sets the action to be scheduled.void
setScheduleParameters
(ScheduleParameters scheduleParameters) Sets the parameters for when the action should occur.Methods inherited from class repast.simphony.engine.schedule.DefaultDescriptor
getName, setName
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.schedule.Descriptor
getName, setName
-
Constructor Details
-
DefaultSchedulableDescriptor
-
DefaultSchedulableDescriptor
public DefaultSchedulableDescriptor()
-
-
Method Details
-
getScheduleParameters
Retrieves the parameters for when the action should occur.- Specified by:
getScheduleParameters
in interfaceSchedulableDescriptor
- Returns:
- parameters for the action's execution
-
setScheduleParameters
Sets the parameters for when the action should occur.- Specified by:
setScheduleParameters
in interfaceSchedulableDescriptor
- Parameters:
scheduleParameters
- parameters for the action's execution
-
getAction
Retrieves the action to be scheduled.- Specified by:
getAction
in interfaceSchedulableDescriptor
- Returns:
- the action to be scheduled
-
setAction
Sets the action to be scheduled.- Specified by:
setAction
in interfaceSchedulableDescriptor
- Parameters:
action
- the action to be scheduled
-