Class 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 Detail

      • DataLoaderScenarioCreatorExtension

        public DataLoaderScenarioCreatorExtension()
    • 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 interface ScenarioCreatorExtension
        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