Package com.compomics.cli.paths
Class PathSettingsCLIInputBean
java.lang.Object
com.compomics.cli.paths.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.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
-
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
-