public class ExecutionArguments extends Object
This is often used to insert further parameters from the command-line into bean plugins, that have otherwise been loaded from BeanXML.
Constructor and Description |
---|
ExecutionArguments()
Creates with neither a model-directory nor initial task-arguments.
|
ExecutionArguments(Path modelDirectory,
TaskArguments task)
Creates with a model-directory and an image-size suggestion.
|
Modifier and Type | Method and Description |
---|---|
void |
activateDebugMode(String debugContains)
Activates debug-mode.
|
PathPrefixerContext |
derivePathPrefixerContext()
Derive a
PathPrefixerContext from the arguments in this class. |
InputArguments |
input()
Arguments to help determine the input to the experiment.
|
InputContextParameters |
inputContextParameters()
Additional parameters that offer context for many beans that provide input-functions.
|
boolean |
isDebugModeEnabled()
Has debug mode been enabled when executing an experiment?
|
OutputArguments |
output()
Arguments to help specify the outputs from the experiment.
|
TaskArguments |
task()
Arguments to help specify the outputs from the experiment.
|
public ExecutionArguments()
public ExecutionArguments(Path modelDirectory, TaskArguments task)
modelDirectory
- the model-directory.task
- arguments to help specify the outputs from the experiment.public InputContextParameters inputContextParameters()
public PathPrefixerContext derivePathPrefixerContext() throws PathPrefixerException
PathPrefixerContext
from the arguments in this class.PathPrefixerContext
derived from this class.PathPrefixerException
- if the the path in outputDirectory
of PathPrefixerContext
is relative instead of absolute.public void activateDebugMode(String debugContains)
debugContains
- maybe a string used for filtering inputs during debugging, or an
empty-string if this isn't enabled.public boolean isDebugModeEnabled()
public InputArguments input()
public OutputArguments output()
public TaskArguments task()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.