Class AbstractIdentificationParametersCli
java.lang.Object
com.compomics.cli.identification_parameters.AbstractIdentificationParametersCli
- All Implemented Interfaces:
Callable
- Direct Known Subclasses:
IdentificationParametersCLI
This class serves as a base for the implementation of
IdentificationParametersCLI in specific tools. To make an
IdentificationParametersCLI extend this class and call initiate in the
constructor of your class.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()protected abstract voidcreateOptionsCLI(org.apache.commons.cli.Options options) Provides the options left to the user.static StringIdentificationParametersCLI header message when printing the usage.protected abstract StringReturns the options left to the user as a string.voidInitiates the IdentificationParametersCli.voidPrints the available enzymes.voidPrints the available modifications.
-
Constructor Details
-
AbstractIdentificationParametersCli
public AbstractIdentificationParametersCli()
-
-
Method Details
-
initiate
Initiates the IdentificationParametersCli.- Parameters:
args- the command line arguments
-
call
-
printModifications
public void printModifications()Prints the available modifications. -
printEnzymes
public void printEnzymes()Prints the available enzymes. -
createOptionsCLI
protected abstract void createOptionsCLI(org.apache.commons.cli.Options options) Provides the options left to the user.- Parameters:
options- the options object where the options will be added
-
getOptionsAsString
Returns the options left to the user as a string.- Returns:
- the options left to the user as a string
-
getHeader
IdentificationParametersCLI header message when printing the usage.- Returns:
- the header message as a string
-