Package eu.isas.peptideshaker.cmd
Enum PathSettingsCLIParams
- All Implemented Interfaces:
Serializable,Comparable<PathSettingsCLIParams>,java.lang.constant.Constable
public enum PathSettingsCLIParams extends Enum<PathSettingsCLIParams>
Enum of the command line parameters for path setting.
- Author:
- Marc Vaudel
-
Nested Class Summary
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description StringdescriptionThe description of the command line option.StringidThe id of the command line option. -
Method Summary
Modifier and Type Method Description static voidcreateOptionsCLI(org.apache.commons.cli.Options aOptions)Creates the options for the command line interface based on the possible values.static ArrayList<String>getOptionIDs()Returns the list of supported command line options.static StringgetOptionsAsString()Returns the options as a string.static PathSettingsCLIParamsvalueOf(String name)Returns the enum constant of this type with the specified name.static PathSettingsCLIParams[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Field Details
-
id
The id of the command line option. -
description
The description of the command line option.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
createOptionsCLI
public static void createOptionsCLI(org.apache.commons.cli.Options aOptions)Creates the options for the command line interface based on the possible values.- Parameters:
aOptions- the options object where the options will be added
-
getOptionIDs
Returns the list of supported command line options.- Returns:
- the list of supported command line options
-
getOptionsAsString
Returns the options as a string.- Returns:
- the options as a string
-