Package io.sbk.params

Interface ParsedOptions

All Known Subinterfaces:
InputParameterOptions, ParameterOptions, ParseInputOptions
All Known Implementing Classes:
SbkDriversParameters, SbkInputOptions, SbkParameters, SbkYalParameters

public interface ParsedOptions
  • Method Details

    • hasOptionValue

      boolean hasOptionValue(String name)
      Returns whether the named Option has the value after parsing.
      Parameters:
      name - name of the parameter option
      Returns:
      true if the named Option is a member of this Options
    • getOptionValue

      String getOptionValue(String name)
      Retrieve the Option matching the parameter name specified.
      Parameters:
      name - Name of the parameter.
      Returns:
      parameter value
    • getOptionValue

      String getOptionValue(String name, String defaultValue)
      Retrieve the Option matching the parameter name specified.
      Parameters:
      name - Name of the parameter.
      defaultValue - default value if the parameter not found
      Returns:
      parameter value
    • getHelpText

      String getHelpText()
      Get the -help output.
      Returns:
      formatted Help text
    • printHelp

      default void printHelp()
      Print the -help output.