public class InputArguments extends Object
Constructor and Description |
---|
InputArguments() |
Modifier and Type | Method and Description |
---|---|
void |
assignCallUponDirectoryCreation(java.util.function.Consumer<Path> consumer)
Indicates that
consumer will be called when an output directory is first created. |
void |
assignCopyNonInputs()
Activates a toggle where any files in the input directory that are unused as inputs, are
copied to the output directory.
|
void |
assignModelDirectory(Path modelDirectory)
Assigns a directory indicating where models can be located.
|
Optional<java.util.function.Consumer<Path>> |
getCallUponDirectoryCreation()
When defined, this
Consumer is called when an output directory is first created. |
InputContextParameters |
getContextParameters()
Context parameters that an influence determining inputs.
|
Path |
getModelDirectory()
A directory indicating where models can be located.
|
boolean |
isCopyNonInputs()
When true, any files in the input directory that are unused as inputs, are copied to the
output directory.
|
public Path getModelDirectory()
public void assignModelDirectory(Path modelDirectory)
modelDirectory
- the directory.public void assignCopyNonInputs()
public void assignCallUponDirectoryCreation(java.util.function.Consumer<Path> consumer)
consumer
will be called when an output directory is first created.
This occurs as directories are created lazily only when first needed.
It is called with the path of the directory as an argument.
consumer
- the consumer that is called.public InputContextParameters getContextParameters()
public boolean isCopyNonInputs()
public Optional<java.util.function.Consumer<Path>> getCallUponDirectoryCreation()
Consumer
is called when an output directory is first created.
This occurs as directories are created lazily only when first needed.
It is called with the path of the directory as an argument.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.