Package | Description |
---|---|
org.anchoranalysis.launcher.executor |
Runs a particular experiment after identifying necessary paths and input files.
|
org.anchoranalysis.launcher.executor.selectparam |
Different methods of selecting a object
T that is used as a parameter for an experiment. |
org.anchoranalysis.launcher.executor.selectparam.experiment |
SelectParam s for loading a Experiment . |
org.anchoranalysis.launcher.executor.selectparam.path |
SelectParam s for loading a Optional<Path> for inputs, outputs or tasks. |
Modifier and Type | Method and Description |
---|---|
SelectParam<Optional<Path>> |
ExperimentExecutor.getInput() |
SelectParam<Optional<Path>> |
ExperimentExecutor.getOutput() |
SelectParam<Optional<Path>> |
ExperimentExecutor.getTask() |
Modifier and Type | Method and Description |
---|---|
void |
ExperimentExecutor.setInput(SelectParam<Optional<Path>> input) |
void |
ExperimentExecutor.setOutput(SelectParam<Optional<Path>> output) |
void |
ExperimentExecutor.setTask(SelectParam<Optional<Path>> task) |
Modifier and Type | Class and Description |
---|---|
class |
UseDefaultManager
Uses whatever default-manager exists
|
Modifier and Type | Method and Description |
---|---|
static SelectParam<Path> |
SelectParamFactory.experimentSelectParam(org.apache.commons.cli.CommandLine line,
Path defaultExperiment)
Can point to either:
a path ending in .xml, assumed to BeanXML for an experiment
nothing, then default experiment is used
|
static SelectParam<Optional<Path>> |
SelectParamFactory.inputSelectParam(org.apache.commons.cli.CommandLine line)
Can point to either:
a path ending in .xml, assumed to BeanXML for an input manager
a directory, set as an the inputDirectory in the input-context
a string with a wild-card, assumed to be a glob, set into the input-context as a glob
a string with a period and without any forward or backwards slashes, set into the
input-context as an extension to match
|
static SelectParam<Optional<Path>> |
SelectParamFactory.outputSelectParam(org.apache.commons.cli.CommandLine line)
Can point to either:
a path ending in .xml, assumed to BeanXML for an output manager
a directory, set as the outputDirectory in the input-context
|
static SelectParam<Optional<Path>> |
SelectParamFactory.pathOrTaskNameOrDefault(org.apache.commons.cli.CommandLine line,
String optionName,
Path tasksDirectory)
Can point to either a path to beanXML
|
static SelectParam<Optional<Path>> |
SelectParamFactory.useDefault()
Use default manager.
|
Modifier and Type | Method and Description |
---|---|
static SelectParam<Path> |
ExperimentFactory.defaultExperimentOrCustom(org.apache.commons.cli.CommandLine line,
Path defaultExperiment)
Chooses either a path to the default-experiment or a path to a custom experiment.
|
Modifier and Type | Method and Description |
---|---|
static SelectParam<Optional<Path>> |
OutputFactory.pathOrDirectory(String[] arguments,
boolean writeIntoRoot)
If the argument is a path to a directory, then this directory is set as the default.
|
static SelectParam<Optional<Path>> |
InputFactory.pathOrDirectoryOrGlobOrExtension(String[] arguments) |
static SelectParam<Optional<Path>> |
TaskFactory.pathOrTaskName(String[] args,
Path tasksDirectory)
If the argument a name (no extension, no root, no special-chars apart from forward-slashes),
then construct an automatic path to the tasks in the configuration directory.
|
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.