Package io.sbk.params

Interface InputOptions

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

public sealed interface InputOptions permits ParseInputOptions
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addOption(String name, boolean hasArg, String description)
    Add the driver specific command line arguments.
    boolean
    Returns whether the named Option exists.
  • Method Details

    • addOption

      void addOption(String name, boolean hasArg, String description) throws IllegalArgumentException
      Add the driver specific command line arguments.
      Parameters:
      name - Name of the parameter to add.
      hasArg - flag signalling if an argument is required after this option.
      description - Self-documenting description.
      Throws:
      IllegalArgumentException - if 'name' already added.
    • hasOption

      boolean hasOption(String name)
      Returns whether the named Option exists.
      Parameters:
      name - name of the parameter option
      Returns:
      true if the named Option is a member of this Options