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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the action to be scheduled.Retrieves the parameters for when the action should occur.voidSets the action to be scheduled.voidsetScheduleParameters(ScheduleParameters scheduleParameters) Sets the parameters for when the action should occur.Methods inherited from class repast.simphony.engine.schedule.DefaultDescriptor
getName, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getScheduleParametersin interfaceSchedulableDescriptor- Returns:
- parameters for the action's execution
-
setScheduleParameters
Sets the parameters for when the action should occur.- Specified by:
setScheduleParametersin interfaceSchedulableDescriptor- Parameters:
scheduleParameters- parameters for the action's execution
-
getAction
Retrieves the action to be scheduled.- Specified by:
getActionin interfaceSchedulableDescriptor- Returns:
- the action to be scheduled
-
setAction
Sets the action to be scheduled.- Specified by:
setActionin interfaceSchedulableDescriptor- Parameters:
action- the action to be scheduled
-