Class InputArguments
Object
InputArguments
Arguments that can further specify an experiment's input in addition to its bean
specification.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignCallUponDirectoryCreation
(Consumer<Path> consumer) Indicates thatconsumer
will be called when an output directory is first created.void
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.When defined, thisConsumer
is called when an output directory is first created.Context parameters that an influence determining inputs.A directory indicating where models can be located.boolean
When true, any files in the input directory that are unused as inputs, are copied to the output directory.
-
Constructor Details
-
InputArguments
public InputArguments()
-
-
Method Details
-
getModelDirectory
A directory indicating where models can be located.- Returns:
- the path to the directory.
-
assignModelDirectory
Assigns a directory indicating where models can be located.- Parameters:
modelDirectory
- the directory.
-
assignCopyNonInputs
public void assignCopyNonInputs()Activates a toggle where any files in the input directory that are unused as inputs, are copied to the output directory. -
assignCallUponDirectoryCreation
Indicates thatconsumer
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.
- Parameters:
consumer
- the consumer that is called.
-
getContextParameters
Context parameters that an influence determining inputs. -
isCopyNonInputs
public boolean isCopyNonInputs()When true, any files in the input directory that are unused as inputs, are copied to the output directory. -
getCallUponDirectoryCreation
When defined, thisConsumer
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.
-