Class OutputArguments
Object
OutputArguments
Arguments that can further specify an experiment's output in addition to its bean
specification.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Assigns a suggestion for a preferred image-output format.Additions/subtractions of outputs for the experiment supplied by the user.Where outputs are written, and how identifiers are styled.boolean
Has a request occurred that the experiment-identifier is omitted?void
requestOmitExperimentIdentifier
(String argument) Requests that the experiment-identifier (name and index) is not included in the output-directory path.void
Requests outputting with an incrementing number sequence, rather than the usual outputter (normally based upon input filenames).void
Requests suppressing directories (replacing subdirectory separators with an underscore) in the identifiers that are outputted.
-
Constructor Details
-
OutputArguments
public OutputArguments()
-
-
Method Details
-
assignSuggestedImageOutputFormat
Assigns a suggestion for a preferred image-output format.- Parameters:
format
- the preferred format.
-
requestOutputIncrementingNumberSequence
public void requestOutputIncrementingNumberSequence()Requests outputting with an incrementing number sequence, rather than the usual outputter (normally based upon input filenames). -
requestOutputSuppressDirectories
public void requestOutputSuppressDirectories()Requests suppressing directories (replacing subdirectory separators with an underscore) in the identifiers that are outputted. -
requestOmitExperimentIdentifier
Requests that the experiment-identifier (name and index) is not included in the output-directory path.Note that
argument
is ignored, and retained so as to have a compatible interface with other code.- Parameters:
argument
- the arguments to the command-line (which are ignored).
-
isOmitExperimentIdentifier
public boolean isOmitExperimentIdentifier()Has a request occurred that the experiment-identifier is omitted?i.e. the name and index are not included in the output-directory path.
- Returns:
- true when the experiment-identifier has been requested to be omitted.
-
getPrefixer
Where outputs are written, and how identifiers are styled. -
getOutputEnabledDelta
Additions/subtractions of outputs for the experiment supplied by the user.These are applied to an existing source of output-enabled rules (e.g. defaults from a task, or rules defined in the experiment's
OutputManager
.
-