Package eu.isas.peptideshaker.cmd
Enum StirredOptions
- All Implemented Interfaces:
Serializable,Comparable<StirredOptions>,java.lang.constant.Constable
Enum class specifying the ModificationsCLI parameters.
- 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
FieldsModifier and TypeFieldDescriptionfinal StringDescription for the command line argument.final booleanIf true this command line argument needs a value.final StringKey for the command line argument.final booleanIf true the parameter is mandatory.final StringShort key for the command line argument. -
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 StirredOptionsReturns the enum constant of this type with the specified name.static StirredOptions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
input
-
spectrum
-
fasta
-
identificationParametersFile
-
tempFolder
-
log
-
nThreads
-
timeOutDays
-
contactFirstName
-
contactLastName
-
contactAddress
-
contactEmail
-
contactOrganizationName
-
contactOrganizationAddress
-
contactOrganizationEmail
-
output
-
-
Field Details
-
opt
Short key for the command line argument. -
longOpt
Key for the command line argument. -
description
Description for the command line argument. -
mandatory
public final boolean mandatoryIf true the parameter is mandatory. -
hasValue
public final boolean hasValueIf true this command line argument needs a value.
-
-
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
-