Class NBCommandInfo
java.lang.Object
io.nosqlbench.engine.core.lifecycle.scenario.execution.NBCommandInfo
- All Implemented Interfaces:
NBHelpTopic
- Direct Known Subclasses:
INFO_await,INFO_error,INFO_example,INFO_forceStop,INFO_getenv,INFO_ok,INFO_optimize,INFO_reset,INFO_run,INFO_start,INFO_stop,INFO_wait,NBFindmaxInfo,NBOptimoInfo
Implement this stub service to identify
NBInvokableCommands which can be loaded in the runtime.
Each concrete implementation of NBCommandInfo needs to be annotated with
@Service(value = NBCommandInfo.class, selector = "<cmdname>")
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(NBComponent parent, String cmdName, String ctxName) abstract StringgetHelp()getName()abstract Class<? extends NBInvokableCommand> getType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.nosqlbench.engine.core.lifecycle.scenario.execution.NBHelpTopic
getDescription
-
Constructor Details
-
NBCommandInfo
public NBCommandInfo()
-
-
Method Details
-
getType
-
create
-
getName
- Specified by:
getNamein interfaceNBHelpTopic
-
getHelp
- Specified by:
getHelpin interfaceNBHelpTopic
-