Package eu.isas.peptideshaker.cmd
Enum MzidCLIParams
- All Implemented Interfaces:
Serializable,Comparable<MzidCLIParams>,java.lang.constant.Constable
Enum class specifying the Command Line Parameters for mzid export.
- Author:
- Marc Vaudel, Harald Barsnes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateOptionsCLI(org.apache.commons.cli.Options aOptions) Creates the options for the command line interface based on the possible values.static StringReturns the options as a string.static MzidCLIParamsReturns the enum constant of this type with the specified name.static MzidCLIParams[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PSDB_FILE
-
CONTACT_FIRST_NAME
-
CONTACT_LAST_NAME
-
CONTACT_EMAIL
-
CONTACT_ADDRESS
-
CONTACT_URL
-
ORGANIZATION_NAME
-
ORGANIZATION_EMAIL
-
ORGANIZATION_ADDRESS
-
ORGANIZATION_URL
-
INCLUDE_PROTEIN_SEQUENCES
-
VERSION
-
OUTPUT_FILE
-
GZIP
-
-
Field Details
-
id
Short Id for the CLI parameter. -
description
Explanation for the CLI parameter. -
mandatory
public final boolean mandatoryBoolean indicating whether the parameter is mandatory. -
hasArgument
public final boolean hasArgumentIndicates whether user input is expected.
-
-
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
-
getOptionsAsString
Returns the options as a string.- Returns:
- the options as a string
-