Package io.gem.params.impl
Class SbkGemParameters
java.lang.Object
io.sbk.params.impl.SbkInputOptions
io.sbk.params.impl.SbkParameters
io.sbk.params.impl.SbkDriversParameters
io.gem.params.impl.SbkGemParameters
- All Implemented Interfaces:
GemParameterOptions
,GemParameters
,GetArguments
,io.sbk.params.ActionParameter
,io.sbk.params.InputOptions
,io.sbk.params.InputParameterOptions
,io.sbk.params.ParameterOptions
,io.sbk.params.Parameters
,io.sbk.params.ParsedOptions
,io.sbk.params.ParseInputOptions
public final class SbkGemParameters
extends io.sbk.params.impl.SbkDriversParameters
implements GemParameterOptions
Class SbkGemParameters.
-
Constructor Summary
ConstructorDescriptionSbkGemParameters
(String name, String[] drivers, String[] loggers, @NotNull GemConfig config, int sbmPort, int sbmIdleSleepMilliSeconds) This Constructor is responsible for initializing all values. -
Method Summary
Methods inherited from class io.sbk.params.impl.SbkParameters
getAction, getIdleSleepMilliSeconds, getReadersCount, getReadersStep, getReadersStepSeconds, getRecordSize, getRecordsPerSec, getRecordsPerSync, getTimeoutMS, getTotalRecords, getTotalSecondsToRun, getWritersCount, getWritersStep, getWritersStepSeconds
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.gem.params.GemParameters
getConnections, getLocalHost, getSbmIdleSleepMilliSeconds, getSbmPort
Methods inherited from interface io.gem.params.GetArguments
getOptionsArgs, getParsedArgs
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
-
SbkGemParameters
public SbkGemParameters(String name, String[] drivers, String[] loggers, @NotNull @NotNull GemConfig config, int sbmPort, int sbmIdleSleepMilliSeconds) This Constructor is responsible for initializing all values.- Parameters:
name
- Stringdrivers
- String[]loggers
-config
- NotNull GemConfigsbmPort
- intsbmIdleSleepMilliSeconds
- int
-
-
Method Details
-
parseArgs
public void parseArgs(String[] args) throws org.apache.commons.cli.ParseException, IllegalArgumentException, io.sbk.exception.HelpException - Specified by:
parseArgs
in interfaceio.sbk.params.ParseInputOptions
- Overrides:
parseArgs
in classio.sbk.params.impl.SbkParameters
- Throws:
org.apache.commons.cli.ParseException
IllegalArgumentException
io.sbk.exception.HelpException
-
getSbkDir
Description copied from interface:GemParameters
to get Sbk directory.- Specified by:
getSbkDir
in interfaceGemParameters
- Returns:
- Sbk directory.
-
getSbkCommand
Description copied from interface:GemParameters
to get sbk commands.- Specified by:
getSbkCommand
in interfaceGemParameters
- Returns:
- Sbk commands.
-
isCopy
public boolean isCopy()Description copied from interface:GemParameters
checks if parameters are copy.- Specified by:
isCopy
in interfaceGemParameters
- Returns:
- true or false.
-
isDelete
public boolean isDelete()Description copied from interface:GemParameters
checks if parameters are deleted.- Specified by:
isDelete
in interfaceGemParameters
- Returns:
- true ro false.
-