public enum SearchGuiOutputParameters extends Enum<SearchGuiOutputParameters>
Enum Constant and Description |
---|
algorithm
Groups files per identification algorithm.
|
grouped
Groups all files in a single compressed zip folder.
|
no_zip
No file grouping.
|
run
Groups files per run (i.e.
|
Modifier and Type | Field and Description |
---|---|
String |
description
The description of the option.
|
int |
id
The index of the option.
|
String |
name
Name of the option.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCommandLineOptions()
Convenience method returning all possibilities in a command line option description format.
|
static int[] |
getOutputOptions()
Returns an array of the indexes of the different output options.
|
static SearchGuiOutputParameters |
getOutputParameters(int id)
Returns the output option of the given index.
|
static String[] |
getOutputParametersNames()
Returns an array of the names of the different options.
|
static SearchGuiOutputParameters |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchGuiOutputParameters[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchGuiOutputParameters grouped
public static final SearchGuiOutputParameters run
public static final SearchGuiOutputParameters algorithm
public static final SearchGuiOutputParameters no_zip
public final int id
public final String name
public final String description
public static SearchGuiOutputParameters[] values()
for (SearchGuiOutputParameters c : SearchGuiOutputParameters.values()) System.out.println(c);
public static SearchGuiOutputParameters valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static int[] getOutputOptions()
public static String[] getOutputParametersNames()
public static SearchGuiOutputParameters getOutputParameters(int id)
id
- the index of the output option of interestpublic static String getCommandLineOptions()
Copyright © 2018. All rights reserved.