Class IdentificationParametersCLI
java.lang.Object
com.compomics.cli.identification_parameters.AbstractIdentificationParametersCli
com.compomics.cli.identification_parameters.IdentificationParametersCLI
- All Implemented Interfaces:
Callable
public class IdentificationParametersCLI extends AbstractIdentificationParametersCli
The SearchParametersCLI allows creating search parameters files using command
line arguments.
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors Constructor Description IdentificationParametersCLI(String[] args)
Construct a new SearchParametersCLI runnable from a list of arguments. -
Method Summary
Modifier and Type Method Description protected void
createOptionsCLI(org.apache.commons.cli.Options options)
Provides the options left to the user.String
getJarFilePath()
Returns the path to the jar file.protected String
getOptionsAsString()
Returns the options left to the user as a string.static void
main(String[] args)
Starts the launcher by calling the launch method.Methods inherited from class com.compomics.cli.identification_parameters.AbstractIdentificationParametersCli
call, getHeader, initiate, printEnzymes, printModifications
-
Constructor Details
-
IdentificationParametersCLI
Construct a new SearchParametersCLI runnable from a list of arguments. When initialization is successful, calling "run" will write the created parameters file.- Parameters:
args
- the command line arguments
-
-
Method Details
-
main
Starts the launcher by calling the launch method. Use this as the main class in the jar file.- Parameters:
args
- the command line arguments
-
createOptionsCLI
protected void createOptionsCLI(org.apache.commons.cli.Options options)Description copied from class:AbstractIdentificationParametersCli
Provides the options left to the user.- Specified by:
createOptionsCLI
in classAbstractIdentificationParametersCli
- Parameters:
options
- the options object where the options will be added
-
getOptionsAsString
Description copied from class:AbstractIdentificationParametersCli
Returns the options left to the user as a string.- Specified by:
getOptionsAsString
in classAbstractIdentificationParametersCli
- Returns:
- the options left to the user as a string
-
getJarFilePath
Returns the path to the jar file.- Specified by:
getJarFilePath
in classAbstractIdentificationParametersCli
- Returns:
- the path to the jar file
-