public class CommandLineOptions extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LONG_OPTION_GROUP
Activates grouping from a subset of the identifier's elements.
|
static String |
LONG_OPTION_INPUT_RANDOM_SAMPLE
Randomly samples a number of inputs.
|
static String |
LONG_OPTION_OUTPUT
Changes output manager.
|
static String |
LONG_OPTION_OUTPUT_CONSOLE_ONLY
Output console only.
|
static String |
SHORT_OPTION_DEBUG
Enables debug-mode: runs only the first available input [whose name contains string].
|
static String |
SHORT_OPTION_GROUP
Activates grouping from a subset of the identifier's elements.
|
static String |
SHORT_OPTION_HELP
Displays help message with all command-line options.
|
static String |
SHORT_OPTION_INPUT
Changes inputs.
|
static String |
SHORT_OPTION_INPUT_COPY_NON_INPUTS
Additionally copies any files in the input directory, unused as inputs.
|
static String |
SHORT_OPTION_INPUT_LIMIT
Imposes an upper limit on the number of inputs.
|
static String |
SHORT_OPTION_INPUT_RANDOM_SAMPLE
Randomly samples a number of inputs.
|
static String |
SHORT_OPTION_INPUT_RELATIVE_PATH
Derives the unique identifier from the **entire relative filename or path** (excluding file
extension).
|
static String |
SHORT_OPTION_INPUT_SHUFFLE
Shuffles the order of the inputs.
|
static String |
SHORT_OPTION_INPUT_SUBSET_IDENTIFIER
Subsets the identifier.
|
static String |
SHORT_OPTION_LOG_ERROR
Logs initial BeanXML errors in greater detail to a file-path.
|
static String |
SHORT_OPTION_OUTPUT
Changes output manager.
|
static String |
SHORT_OPTION_OUTPUT_CONSOLE_ONLY
Output console only.
|
static String |
SHORT_OPTION_OUTPUT_DISABLE_ADDITIONAL
Disables specific output(s).
|
static String |
SHORT_OPTION_OUTPUT_ENABLE_ADDITIONAL
Enables specific output(s).
|
static String |
SHORT_OPTION_OUTPUT_ENABLE_ALL
Enables all outputs.
|
static String |
SHORT_OPTION_OUTPUT_IMAGE_FILE_FORMAT
Suggests an output image file format: e.g -of jpg or -of ome.xml.
|
static String |
SHORT_OPTION_OUTPUT_INCREMENTING_NUMBER
Outputs with an incrementing number instead of the input identifier.
|
static String |
SHORT_OPTION_OUTPUT_OMIT_EXPERIMENT_IDENTIFIER
Ignores the experiment identifier, when forming an output-path.
|
static String |
SHORT_OPTION_OUTPUT_SUPPRESS_DIRECTORIES
Suppressed the subdirectory structure when outputting file identifiers.
|
static String |
SHORT_OPTION_SHOW_EXPERIMENT_ARGUMENTS
Shows additional argument information, otherwise executes as normal.
|
static String |
SHORT_OPTION_SHOW_TASKS
Prints the names of predefined tasks that can be easily used with -t.
|
static String |
SHORT_OPTION_TASK
Changes task.
|
static String |
SHORT_OPTION_TASK_NUMBER_PROCESSORS
Suggests a maximum number of processors to use for the task.
|
static String |
SHORT_OPTION_TASK_SIZE
Suggests dimensions or a scaling factor for certain tasks.
|
static String |
SHORT_OPTION_VERSION
Displays version and authorship information.
|
Modifier and Type | Method and Description |
---|---|
static void |
addAdditionalOptions(org.apache.commons.cli.Options options) |
static void |
addBasicOptions(org.apache.commons.cli.Options options) |
static void |
addInputOptions(org.apache.commons.cli.Options options) |
public static final String SHORT_OPTION_INPUT
public static final String SHORT_OPTION_INPUT_COPY_NON_INPUTS
public static final String SHORT_OPTION_INPUT_SUBSET_IDENTIFIER
public static final String SHORT_OPTION_INPUT_RELATIVE_PATH
public static final String SHORT_OPTION_INPUT_SHUFFLE
public static final String SHORT_OPTION_INPUT_LIMIT
public static final String SHORT_OPTION_INPUT_RANDOM_SAMPLE
public static final String SHORT_OPTION_TASK
public static final String SHORT_OPTION_TASK_NUMBER_PROCESSORS
public static final String SHORT_OPTION_TASK_SIZE
public static final String SHORT_OPTION_GROUP
public static final String SHORT_OPTION_OUTPUT
public static final String SHORT_OPTION_OUTPUT_ENABLE_ADDITIONAL
public static final String SHORT_OPTION_OUTPUT_DISABLE_ADDITIONAL
public static final String SHORT_OPTION_OUTPUT_ENABLE_ALL
public static final String SHORT_OPTION_OUTPUT_CONSOLE_ONLY
public static final String SHORT_OPTION_OUTPUT_IMAGE_FILE_FORMAT
public static final String SHORT_OPTION_OUTPUT_INCREMENTING_NUMBER
(useful for creating sequences of images)
public static final String SHORT_OPTION_OUTPUT_SUPPRESS_DIRECTORIES
This replaces subdirectories in the outputted filenames with an underscore.
public static final String SHORT_OPTION_OUTPUT_OMIT_EXPERIMENT_IDENTIFIER
This writes directorly to the output-directory, but not if it already exists.
public static final String SHORT_OPTION_DEBUG
public static final String SHORT_OPTION_LOG_ERROR
public static final String SHORT_OPTION_SHOW_EXPERIMENT_ARGUMENTS
public static final String SHORT_OPTION_SHOW_TASKS
public static final String SHORT_OPTION_HELP
public static final String SHORT_OPTION_VERSION
public static final String LONG_OPTION_INPUT_RANDOM_SAMPLE
public static final String LONG_OPTION_OUTPUT
public static final String LONG_OPTION_OUTPUT_CONSOLE_ONLY
public static final String LONG_OPTION_GROUP
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.