Package eu.isas.peptideshaker.cmd
Class PathSettingsCLIInputBean
java.lang.Object
eu.isas.peptideshaker.cmd.PathSettingsCLIInputBean
Parses the command line and retrieves the user input.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
ConstructorsConstructorDescriptionPathSettingsCLIInputBean(org.apache.commons.cli.CommandLine aLine) Construct a FollowUpCLIInputBean from an Apache CLI instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the folder where to save the log files.getPaths()Returns the specific paths provided by the user in a map: Path id > path.Returns the temp folder, an empty string if not set.booleanhasInput()Indicates whether the user gave some path configuration input.booleanReturn true if a log file is to be used.
-
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
-
useLogFile
public boolean useLogFile()Return true if a log file is to be used. False, sends the logs to the standard output.- Returns:
- true if a log file is to be used, false sends the logs to the standard output
-