public enum SearchGuiOutputOption extends Enum<SearchGuiOutputOption>
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 SearchGuiOutputOption |
getOutputOption(int id)
Returns the output option of the given index.
|
static int[] |
getOutputOptions()
Returns an array of the indexes of the different output options.
|
static String[] |
getOutputOptionsNames()
Returns an array of the names of the different options.
|
static SearchGuiOutputOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchGuiOutputOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchGuiOutputOption grouped
public static final SearchGuiOutputOption run
public static final SearchGuiOutputOption algorithm
public static final SearchGuiOutputOption no_zip
public final int id
public final String name
public final String description
public static SearchGuiOutputOption[] values()
for (SearchGuiOutputOption c : SearchGuiOutputOption.values()) System.out.println(c);
public static SearchGuiOutputOption 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[] getOutputOptionsNames()
public static SearchGuiOutputOption getOutputOption(int id)
id
- the index of the output option of interestpublic static String getCommandLineOptions()
Copyright © 2016. All rights reserved.