Package repast.simphony.scenario
Class DefaultControllerActionIO<T extends ControllerAction>
- java.lang.Object
-
- repast.simphony.scenario.AbstractControllerActionIO<T>
-
- repast.simphony.scenario.DefaultControllerActionIO<T>
-
- All Implemented Interfaces:
ControllerActionIO
- Direct Known Subclasses:
BuilderDataLoaderControllerActionIO
,CNDataLoaderControllerActionIO
,ContextXMLDataLoaderControllerActionIO
,DelimitedFileFreezerActionIO
,DFDataLoaderControllerActionIO
,JDBCDataLoaderControllerActionIO
,JDBCFreezerActionIO
,MIContextXMLDataLoaderControllerActionIO
,XMLDataLoaderControllerActionIO
public class DefaultControllerActionIO<T extends ControllerAction> extends AbstractControllerActionIO<T>
-
-
Field Summary
-
Fields inherited from class repast.simphony.scenario.AbstractControllerActionIO
actionClass
-
-
Constructor Summary
Constructors Constructor Description DefaultControllerActionIO(Class<T> actionClass, String actionRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionLoader
getActionLoader(File actionFile, Object contextID)
Gets the ActionLoader used to load the saved action.ActionSaver
getActionSaver()
Gets the ActionSaver used to save the ControllerAction.-
Methods inherited from class repast.simphony.scenario.AbstractControllerActionIO
getActionClass, getSerializationID
-
-
-
-
Method Detail
-
getActionLoader
public ActionLoader getActionLoader(File actionFile, Object contextID)
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.
-
getActionSaver
public ActionSaver getActionSaver()
Description copied from interface:ControllerActionIO
Gets the ActionSaver used to save the ControllerAction.- Returns:
- the ActionSaver used to save the ControllerAction.
-
-