Package repast.simphony.data2.engine
Class ConsoleSinkControllerActionIO
java.lang.Object
repast.simphony.scenario.AbstractControllerActionIO<T>
repast.simphony.scenario.AbstractDescriptorControllerActionIO<ConsoleSinkComponentControllerAction,ConsoleSinkDescriptor>
repast.simphony.data2.engine.ConsoleSinkControllerActionIO
- All Implemented Interfaces:
ControllerActionIO
public class ConsoleSinkControllerActionIO
extends AbstractDescriptorControllerActionIO<ConsoleSinkComponentControllerAction,ConsoleSinkDescriptor>
- Author:
- Nick Collier
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Fields inherited from class repast.simphony.scenario.AbstractControllerActionIO
actionClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetActionLoader
(File actionFile, Object contextID) Gets the ActionLoader used to load the saved action.Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction.Methods inherited from class repast.simphony.scenario.AbstractDescriptorControllerActionIO
getActionSaver
Methods inherited from class repast.simphony.scenario.AbstractControllerActionIO
getActionClass
-
Constructor Details
-
ConsoleSinkControllerActionIO
public ConsoleSinkControllerActionIO()
-
-
Method Details
-
getSerializationID
Description copied from interface:ControllerActionIO
Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction. This id associates the saved action with this ControllerActionIO.- Specified by:
getSerializationID
in interfaceControllerActionIO
- Overrides:
getSerializationID
in classAbstractControllerActionIO<ConsoleSinkComponentControllerAction>
- Returns:
- the id for this ControllerActionIO to be used in loading and saving a ControllerAction
-
getActionLoader
Description copied from interface:ControllerActionIO
Gets the ActionLoader used to load the saved action.- Parameters:
actionFile
- the File containing the serialized datacontextID
- the context the context to load the action into- Returns:
- the ActionLoader used to load the saved action.
-