Package eu.isas.peptideshaker.cmd
Class PathSettingsCLI
java.lang.Object
eu.isas.peptideshaker.cmd.PathSettingsCLI
Allows the user to set the path settings in command line.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
ConstructorsConstructorDescriptionPathSettingsCLI(PathSettingsCLIInputBean pathSettingsCLIInputBean) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncall()static String[]extractAndUpdatePathOptions(String[] args) If the arguments contains changes to the paths these arguments will be extracted and the paths updated, before the remaining non-path options are returned for further processing.static voidStarts the launcher by calling the launch method.voidSets the path settings according to the pathSettingsCLIInputBean.toString()
-
Constructor Details
-
PathSettingsCLI
Constructor.- Parameters:
pathSettingsCLIInputBean- an input bean containing the user parameters
-
-
Method Details
-
call
-
setPathSettings
public void setPathSettings()Sets the path settings according to the pathSettingsCLIInputBean. -
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
-
toString
-
extractAndUpdatePathOptions
public static String[] extractAndUpdatePathOptions(String[] args) throws org.apache.commons.cli.ParseException If the arguments contains changes to the paths these arguments will be extracted and the paths updated, before the remaining non-path options are returned for further processing.- Parameters:
args- the command line arguments- Returns:
- a list of all non-path related arguments
- Throws:
org.apache.commons.cli.ParseException- if a ParseException occurs
-