public class ExperimentExecutor extends Object
Modifier and Type | Method and Description |
---|---|
void |
executeExperiment(ExecutionArguments executionArguments,
boolean alwaysShowExperimentArguments,
Logger logger)
Executes an experiment after finding a single experiment XML file, and reading the experiment
from this file.
|
SelectParam<Optional<Path>> |
getInput() |
SelectParam<Optional<Path>> |
getOutput() |
SelectParam<Optional<Path>> |
getTask() |
boolean |
isOpenInDesktop()
Whether to open the output directory in the desktop GUI after execution (if supported on the
O/S).
|
void |
setDefaultBehaviourString(Optional<String> defaultBehaviourString)
If present, a string is printed in the description if the default-experiment is used,
otherwise ignored.
|
void |
setInput(SelectParam<Optional<Path>> input) |
void |
setOpenInDesktop(boolean openInDesktop)
Whether to open the output directory in the desktop GUI after execution (if supported on the
O/S).
|
void |
setOutput(SelectParam<Optional<Path>> output) |
void |
setTask(SelectParam<Optional<Path>> task) |
Path |
taskDirectory() |
public void executeExperiment(ExecutionArguments executionArguments, boolean alwaysShowExperimentArguments, Logger logger) throws ExperimentExecutionException
ExperimentExecutionException
- if the execution ends earlypublic Path taskDirectory()
public SelectParam<Optional<Path>> getInput()
public void setInput(SelectParam<Optional<Path>> input)
public SelectParam<Optional<Path>> getOutput()
public void setOutput(SelectParam<Optional<Path>> output)
public SelectParam<Optional<Path>> getTask()
public void setTask(SelectParam<Optional<Path>> task)
public boolean isOpenInDesktop()
public void setOpenInDesktop(boolean openInDesktop)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.