Enum DigestionParameters.CleavageParameter
java.lang.Object
java.lang.Enum<DigestionParameters.CleavageParameter>
com.compomics.util.parameters.identification.search.DigestionParameters.CleavageParameter
- All Implemented Interfaces:
Serializable
,Comparable<DigestionParameters.CleavageParameter>
,java.lang.constant.Constable
- Enclosing class:
- DigestionParameters
public static enum DigestionParameters.CleavageParameter extends Enum<DigestionParameters.CleavageParameter>
Enum for the different types of digestion.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description enzyme
Digestion with an enzyme.unSpecific
Unspecific digestion.wholeProtein
Whole protein, no digestion. -
Field Summary
-
Method Summary
Modifier and Type Method Description static DigestionParameters.CleavageParameter
getCleavageParameters(int index)
Returns the cleavage parameter of the given index.static String
getCommandLineDescription()
Returns the different options as command line description.String
toString()
static DigestionParameters.CleavageParameter
valueOf(String name)
Returns the enum constant of this type with the specified name.static DigestionParameters.CleavageParameter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
enzyme
Digestion with an enzyme. -
unSpecific
Unspecific digestion. -
wholeProtein
Whole protein, no digestion.
-
-
Field Details
-
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
-
getCleavageParameters
Returns the cleavage parameter of the given index.- Parameters:
index
- the index of the cleavage parameter- Returns:
- the corresponding cleavage parameter
-
getCommandLineDescription
Returns the different options as command line description.- Returns:
- the different options as command line description
-
toString
- Overrides:
toString
in classEnum<DigestionParameters.CleavageParameter>
-