public enum FastaParametersCLIParams extends Enum<FastaParametersCLIParams>
Enum Constant and Description |
---|
DECOY |
DESCRIPTION |
NAME |
SUFFIX |
VERSION |
Modifier and Type | Field and Description |
---|---|
String |
description
Explanation for the CLI parameter.
|
boolean |
hasArgument
Boolean indicating whether this command line option needs an argument.
|
String |
id
Short Id for the CLI parameter.
|
boolean |
mandatory
Boolean indicating whether the parameter is mandatory.
|
Modifier and Type | Method and Description |
---|---|
static void |
createOptionsCLI(org.apache.commons.cli.Options aOptions)
Creates the options for the command line interface based on the possible
values.
|
static String |
getOptionsAsString()
Returns the options as a string.
|
static FastaParametersCLIParams |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FastaParametersCLIParams[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FastaParametersCLIParams NAME
public static final FastaParametersCLIParams DESCRIPTION
public static final FastaParametersCLIParams VERSION
public static final FastaParametersCLIParams DECOY
public static final FastaParametersCLIParams SUFFIX
public final String id
public final String description
public final boolean mandatory
public final boolean hasArgument
public static FastaParametersCLIParams[] values()
for (FastaParametersCLIParams c : FastaParametersCLIParams.values()) System.out.println(c);
public static FastaParametersCLIParams 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 void createOptionsCLI(org.apache.commons.cli.Options aOptions)
aOptions
- the options object where the options will be addedpublic static String getOptionsAsString()
Copyright © 2018. All rights reserved.