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, Harald Barsnes
  • 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

      public String getTempFolder()
      Returns the temp folder, an empty string if not set.
      Returns:
      the temp folder
    • getPaths

      public HashMap<String,String> 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

      public File 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