Package jasima.core.run
Class ConsoleRunner
- java.lang.Object
-
- jasima.core.run.AbstractExperimentRunner
-
- jasima.core.run.ConsoleRunner
-
- Direct Known Subclasses:
ExcelExperimentRunner
public class ConsoleRunner extends AbstractExperimentRunner
Main class to load and run an experiment from the command line. The experiment can be specified by either the class name (in this case a new experiment of this type will be created) or by specifying the name of an xml file or Excel file containing an experiment (e.g., created with the gui).Furthermore this class is used indirectly by Experiments to configure and run them.
- Author:
- Torsten Hildebrandt
- See Also:
Experiment.main(String[])
-
-
Field Summary
-
Fields inherited from class jasima.core.run.AbstractExperimentRunner
experimentFileName, expToRun, listeners, manualProps, packageSearchPath
-
-
Constructor Summary
Constructors Constructor Description ConsoleRunner()ConsoleRunner(Experiment expTemplate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String... args)static voidprintBanner(Experiment exp)static voidprintBanner(PrintWriter out, Experiment exp)static Map<String,Object>run(Experiment template, String... args)static Map<String,Object>run(String... args)Map<String,Object>runWith(String... args)-
Methods inherited from class jasima.core.run.AbstractExperimentRunner
configureExperiment, getResultFileNameHint, run
-
-
-
-
Constructor Detail
-
ConsoleRunner
public ConsoleRunner()
-
ConsoleRunner
public ConsoleRunner(@Nullable Experiment expTemplate)
-
-
Method Detail
-
printBanner
public static void printBanner(Experiment exp)
-
printBanner
public static void printBanner(PrintWriter out, Experiment exp)
-
main
public static void main(String... args)
-
-