Class AddInputOptions

Object
AddOptionsFromCommandLine<InputArguments>
AddInputOptions

public class AddInputOptions extends AddOptionsFromCommandLine<InputArguments>
Adds options relating to inputting from the command-line.
Author:
Owen Feehan
  • Method Details

    • addFrom

      public static void addFrom(CommandLineExtracter extract, InputArguments arguments) throws ExperimentExecutionException
      Adds options to change the inputs from the command-line.
      Parameters:
      extract - the CommandLineExtracter to use
      arguments - the InputArguments to modify
      Throws:
      ExperimentExecutionException - if the arguments to the command-line options do not correspond to expectations.
    • addOptionsFromCommandLine

      public void addOptionsFromCommandLine() throws ExperimentExecutionException
      Description copied from class: AddOptionsFromCommandLine
      Maybe add options to the arguments from the command-line.
      Specified by:
      addOptionsFromCommandLine in class AddOptionsFromCommandLine<InputArguments>
      Throws:
      ExperimentExecutionException - if an error occurs while processing the command-line options