Package org.anchoranalysis.launcher.run
Class ParseArgumentsAndRunExperiment
Object
ParseArgumentsAndRunExperiment
Parses command-line arguments and runs an experiment.
The parser includes:
- a help option, that prints help information
- a version option, that prints version information
- a logError option, that records certain errors (parsing errors) in a log-file with more detail
- and take an argument of a single path that represents an experiment BeanXML file (or path to a directory containing experiment BeanXML)
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionParseArgumentsAndRunExperiment
(Logger logger) Creates a newParseArgumentsAndRunExperiment
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
parseAndRun
(String[] arguments, LauncherConfig config) Parses the arguments to a command-line experiment and runs an experiment.
-
Constructor Details
-
ParseArgumentsAndRunExperiment
Creates a newParseArgumentsAndRunExperiment
instance.- Parameters:
logger
- For reporting messages on what goes wrong
-
-
Method Details
-
parseAndRun
Parses the arguments to a command-line experiment and runs an experiment.- Parameters:
arguments
- arguments from command-lineconfig
- a configuration for the command-line executor.
-