Interface InputOptions
- All Known Subinterfaces:
InputParameterOptions, ParseInputOptions
- All Known Implementing Classes:
SbkDriversParameters, SbkInputOptions, SbkParameters, SbkYalParameters
Builder/registry for supported command-line options before parsing.
Implementations allow components to declare options (name, arg requirement, description) and to query if an option has been registered. Parsing is handled by sub-interfaces.
-
Method Summary
-
Method Details
-
addOption
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
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
-