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
-
Method Summary
Methods inherited from class io.sbk.params.impl.SbkInputOptions
addOption, getHelpText, getOptionValue, getOptionValue, hasOption, hasOptionValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.sbk.params.ActionParameter
getAction
Methods inherited from interface io.sbk.params.InputOptions
addOption, hasOption
Methods inherited from interface io.sbk.params.Parameters
getIdleSleepMilliSeconds, getReadersCount, getReadersStep, getReadersStepSeconds, getRecordSize, getRecordsPerSec, getRecordsPerSync, getTimeoutMS, getTotalRecords, getTotalSecondsToRun, getWritersCount, getWritersStep, getWritersStepSeconds
Methods 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:ParseInputOptions
Parse the command line arguments.- Specified by:
parseArgs
in interfaceParseInputOptions
- Overrides:
parseArgs
in 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.
-