Class CommandLineOptions
Object
CommandLineOptions
All command-line options used by the launcher.
- Author:
- Owen Feehan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringActivates grouping from a subset of the identifier's elements.static final StringRandomly samples a number of inputs.static final StringChanges output manager.static final StringOutput console only.static final StringEnables debug-mode: runs only the first available input [whose name contains string].static final StringActivates grouping from a subset of the identifier's elements.static final StringDisplays help message with all command-line options.static final StringChanges inputs.static final StringAdditionally copies any files in the input directory, unused as inputs.static final StringImposes an upper limit on the number of inputs.static final StringRandomly samples a number of inputs.static final StringDerives the unique identifier from the **entire relative filename or path** (excluding file extension).static final StringShuffles the order of the inputs.static final StringSubsets the identifier.static final StringLogs initial BeanXML errors in greater detail to a file-path.static final StringChanges output manager.static final StringOutput console only.static final StringDisables specific output(s).static final StringEnables specific output(s).static final StringEnables all outputs.static final StringSuggests an output image file format: e.g -of jpg or -of ome.xml.static final StringOutputs with an incrementing number instead of the input identifier.static final StringIgnores the experiment identifier, when forming an output-path.static final StringSuppressed the subdirectory structure when outputting file identifiers.static final StringShows additional argument information, otherwise executes as normal.static final StringPrints the names of predefined tasks that can be easily used with -t.static final StringChanges task.static final StringSuggests a maximum number of processors to use for the task.static final StringSuggests dimensions or a scaling factor for certain tasks.static final StringDisplays version and authorship information. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAdditionalOptions(org.apache.commons.cli.Options options) Adds additional options to theOptionsobject.static voidaddBasicOptions(org.apache.commons.cli.Options options) Adds basic options to theOptionsobject.static voidaddInputOptions(org.apache.commons.cli.Options options) Adds input-related options to theOptionsobject.
-
Field Details
-
SHORT_OPTION_INPUT
Changes inputs.- See Also:
-
SHORT_OPTION_INPUT_COPY_NON_INPUTS
Additionally copies any files in the input directory, unused as inputs.- See Also:
-
SHORT_OPTION_INPUT_SUBSET_IDENTIFIER
Subsets the identifier.- See Also:
-
SHORT_OPTION_INPUT_RELATIVE_PATH
Derives the unique identifier from the **entire relative filename or path** (excluding file extension).- See Also:
-
SHORT_OPTION_INPUT_SHUFFLE
Shuffles the order of the inputs.- See Also:
-
SHORT_OPTION_INPUT_LIMIT
Imposes an upper limit on the number of inputs.- See Also:
-
SHORT_OPTION_INPUT_RANDOM_SAMPLE
Randomly samples a number of inputs.- See Also:
-
SHORT_OPTION_TASK
Changes task.- See Also:
-
SHORT_OPTION_TASK_NUMBER_PROCESSORS
Suggests a maximum number of processors to use for the task.- See Also:
-
SHORT_OPTION_TASK_SIZE
Suggests dimensions or a scaling factor for certain tasks.- See Also:
-
SHORT_OPTION_GROUP
Activates grouping from a subset of the identifier's elements.- See Also:
-
SHORT_OPTION_OUTPUT
Changes output manager.- See Also:
-
SHORT_OPTION_OUTPUT_ENABLE_ADDITIONAL
Enables specific output(s). Multiple outputs are comma-separated.- See Also:
-
SHORT_OPTION_OUTPUT_DISABLE_ADDITIONAL
Disables specific output(s). Multiple outputs are comma-separated.- See Also:
-
SHORT_OPTION_OUTPUT_ENABLE_ALL
Enables all outputs.- See Also:
-
SHORT_OPTION_OUTPUT_CONSOLE_ONLY
Output console only. By default, the output directory is opened in the desktop after completion. This disables that behaviour.- See Also:
-
SHORT_OPTION_OUTPUT_IMAGE_FILE_FORMAT
Suggests an output image file format: e.g -of jpg or -of ome.xml.- See Also:
-
SHORT_OPTION_OUTPUT_INCREMENTING_NUMBER
Outputs with an incrementing number instead of the input identifier.(useful for creating sequences of images)
- See Also:
-
SHORT_OPTION_OUTPUT_SUPPRESS_DIRECTORIES
Suppressed the subdirectory structure when outputting file identifiers.This replaces subdirectories in the outputted filenames with an underscore.
- See Also:
-
SHORT_OPTION_OUTPUT_OMIT_EXPERIMENT_IDENTIFIER
Ignores the experiment identifier, when forming an output-path.This writes directorly to the output-directory, but not if it already exists.
- See Also:
-
SHORT_OPTION_DEBUG
Enables debug-mode: runs only the first available input [whose name contains string].- See Also:
-
SHORT_OPTION_LOG_ERROR
Logs initial BeanXML errors in greater detail to a file-path.- See Also:
-
SHORT_OPTION_SHOW_EXPERIMENT_ARGUMENTS
Shows additional argument information, otherwise executes as normal.- See Also:
-
SHORT_OPTION_SHOW_TASKS
Prints the names of predefined tasks that can be easily used with -t.- See Also:
-
SHORT_OPTION_HELP
Displays help message with all command-line options.- See Also:
-
SHORT_OPTION_VERSION
Displays version and authorship information.- See Also:
-
LONG_OPTION_INPUT_RANDOM_SAMPLE
Randomly samples a number of inputs.- See Also:
-
LONG_OPTION_OUTPUT
Changes output manager.- See Also:
-
LONG_OPTION_OUTPUT_CONSOLE_ONLY
Output console only. By default, the output directory is opened in the desktop after completion. This disables that behavior.- See Also:
-
LONG_OPTION_GROUP
Activates grouping from a subset of the identifier's elements.- See Also:
-
-
Method Details
-
addBasicOptions
public static void addBasicOptions(org.apache.commons.cli.Options options) Adds basic options to theOptionsobject.- Parameters:
options- theOptionsobject to add the basic options to
-
addAdditionalOptions
public static void addAdditionalOptions(org.apache.commons.cli.Options options) Adds additional options to theOptionsobject.- Parameters:
options- theOptionsobject to add the additional options to
-
addInputOptions
public static void addInputOptions(org.apache.commons.cli.Options options) Adds input-related options to theOptionsobject.- Parameters:
options- theOptionsobject to add the input options to
-