Package eu.isas.peptideshaker.cmd
Class PathSettingsCLIInputBean
java.lang.Object
eu.isas.peptideshaker.cmd.PathSettingsCLIInputBean
public class PathSettingsCLIInputBean extends Object
Parses the command line and retrieves the user input.
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors Constructor Description PathSettingsCLIInputBean(org.apache.commons.cli.CommandLine aLine)Construct a FollowUpCLIInputBean from an Apache CLI instance. -
Method Summary
Modifier and Type Method Description FilegetLogFolder()Returns the folder where to save the log files.HashMap<String,String>getPaths()Returns the specific paths provided by the user in a map: Path id > path.StringgetTempFolder()Returns the temp folder, an empty string if not set.booleanhasInput()Indicates whether the user gave some path configuration input.
-
Constructor Details
-
PathSettingsCLIInputBean
public PathSettingsCLIInputBean(org.apache.commons.cli.CommandLine aLine)Construct a FollowUpCLIInputBean from an Apache CLI instance.- Parameters:
aLine- the command line
-
-
Method Details
-
getTempFolder
Returns the temp folder, an empty string if not set.- Returns:
- the temp folder
-
getPaths
Returns the specific paths provided by the user in a map: Path id > path.- Returns:
- the specific paths provided by the user
-
hasInput
public boolean hasInput()Indicates whether the user gave some path configuration input.- Returns:
- a boolean indicating whether the user gave some path configuration input.
-
getLogFolder
Returns the folder where to save the log files.- Returns:
- the folder where to save the log files
-