Interface ParsedOptions
- All Known Subinterfaces:
InputParameterOptions, ParameterOptions, ParseInputOptions
- All Known Implementing Classes:
SbkDriversParameters, SbkInputOptions, SbkParameters, SbkYalParameters
public interface ParsedOptions
Parsed command-line options accessor.
Implementations provide read-only access to parsed CLI options, including presence checks, retrieval with and without defaults, and rendering of a formatted help message.
-
Method Summary
Modifier and TypeMethodDescriptionGet the -help output.getOptionValue(String name) Retrieve the Option matching the parameter name specified.getOptionValue(String name, String defaultValue) Retrieve the Option matching the parameter name specified.booleanhasOptionValue(String name) Returns whether the named Option has the value after parsing.default voidPrint the -help output.
-
Method Details
-
hasOptionValue
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
-
getOptionValue
-
getHelpText
-
printHelp
default void printHelp()Print the -help output.
-