Package io.sbk.params.impl
Class SbkParameters
java.lang.Object
io.sbk.params.impl.SbkInputOptions
io.sbk.params.impl.SbkParameters
- All Implemented Interfaces:
ActionParameter,InputOptions,InputParameterOptions,ParameterOptions,Parameters,ParsedOptions,ParseInputOptions
- Direct Known Subclasses:
SbkDriversParameters
public sealed class SbkParameters
extends SbkInputOptions
implements InputParameterOptions
permits SbkDriversParameters
Class for processing command Line arguments/parameters.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.sbk.params.impl.SbkInputOptions
addOption, getHelpText, getOptionValue, getOptionValue, hasOption, hasOptionValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.sbk.params.ActionParameter
getActionMethods inherited from interface io.sbk.params.InputOptions
addOption, hasOptionMethods inherited from interface io.sbk.params.Parameters
getIdleSleepMilliSeconds, getReadersCount, getReadersStep, getReadersStepSeconds, getRecordSize, getRecordsPerSec, getRecordsPerSync, getTimeoutMS, getTotalRecords, getTotalSecondsToRun, getWritersCount, getWritersStep, getWritersStepSecondsMethods inherited from interface io.sbk.params.ParsedOptions
getHelpText, getOptionValue, getOptionValue, hasOptionValue, printHelp
-
Constructor Details
-
SbkParameters
-
SbkParameters
-
-
Method Details
-
parseArgs
public void parseArgs(String[] args) throws org.apache.commons.cli.ParseException, IllegalArgumentException, HelpException Description copied from interface:ParseInputOptionsParse the command line arguments.- Specified by:
parseArgsin interfaceParseInputOptions- Overrides:
parseArgsin classSbkInputOptions- Parameters:
args- list of command line arguments.- Throws:
org.apache.commons.cli.ParseException- If an exception occurred.IllegalArgumentException- If an exception occurred.HelpException- If the 'help' option is supplied.
-