Package repast.simphony.dataLoader
Class DataLoaderScenarioCreatorExtension
- java.lang.Object
-
- repast.simphony.dataLoader.DataLoaderScenarioCreatorExtension
-
- All Implemented Interfaces:
ScenarioCreatorExtension
public class DataLoaderScenarioCreatorExtension extends Object implements ScenarioCreatorExtension
Automatically adds a class name data loader action entry to the created scenario, if the implemention in the score file is a DataLoader. TODO determine what, if any, of this functionality is required -ert.- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description DataLoaderScenarioCreatorExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ScenarioEntry>
run(File scenarioPath)
Automatically adds a class name data loader action entry to the created scenario, if the implemention in the score file is a DataLoader.
-
-
-
Method Detail
-
run
public List<ScenarioEntry> run(File scenarioPath) throws Exception
Automatically adds a class name data loader action entry to the created scenario, if the implemention in the score file is a DataLoader.- Specified by:
run
in interfaceScenarioCreatorExtension
- Parameters:
scenarioPath
- the path to the scenario dir- Returns:
- optional ScenarioEntry that can be put in the scenario.xml file. This can be null.
- Throws:
Exception
-
-