Class CommandLineOptions
Object
CommandLineOptions
All command-line options used by the launcher.
- Author:
- Owen Feehan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Activates grouping from a subset of the identifier's elements.static final String
Randomly samples a number of inputs.static final String
Changes output manager.static final String
Output console only.static final String
Enables debug-mode: runs only the first available input [whose name contains string].static final String
Activates grouping from a subset of the identifier's elements.static final String
Displays help message with all command-line options.static final String
Changes inputs.static final String
Additionally copies any files in the input directory, unused as inputs.static final String
Imposes an upper limit on the number of inputs.static final String
Randomly samples a number of inputs.static final String
Derives the unique identifier from the **entire relative filename or path** (excluding file extension).static final String
Shuffles the order of the inputs.static final String
Subsets the identifier.static final String
Logs initial BeanXML errors in greater detail to a file-path.static final String
Changes output manager.static final String
Output console only.static final String
Disables specific output(s).static final String
Enables specific output(s).static final String
Enables all outputs.static final String
Suggests an output image file format: e.g -of jpg or -of ome.xml.static final String
Outputs with an incrementing number instead of the input identifier.static final String
Ignores the experiment identifier, when forming an output-path.static final String
Suppressed the subdirectory structure when outputting file identifiers.static final String
Shows additional argument information, otherwise executes as normal.static final String
Prints the names of predefined tasks that can be easily used with -t.static final String
Changes task.static final String
Suggests a maximum number of processors to use for the task.static final String
Suggests dimensions or a scaling factor for certain tasks.static final String
Displays version and authorship information. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAdditionalOptions
(org.apache.commons.cli.Options options) Adds additional options to theOptions
object.static void
addBasicOptions
(org.apache.commons.cli.Options options) Adds basic options to theOptions
object.static void
addInputOptions
(org.apache.commons.cli.Options options) Adds input-related options to theOptions
object.
-
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 theOptions
object.- Parameters:
options
- theOptions
object to add the basic options to
-
addAdditionalOptions
public static void addAdditionalOptions(org.apache.commons.cli.Options options) Adds additional options to theOptions
object.- Parameters:
options
- theOptions
object to add the additional options to
-
addInputOptions
public static void addInputOptions(org.apache.commons.cli.Options options) Adds input-related options to theOptions
object.- Parameters:
options
- theOptions
object to add the input options to
-