open class CommandRegistry : CommandResolver
A registry that contains the commands known by a shell. It is a mutable command resolver. NOTE: This class has been automatically generated from the io.vertx.ext.shell.command.CommandRegistry non RX-ified interface using Vert.x codegen.
CommandRegistry(delegate: CommandRegistry) |
static val __TYPE_ARG: TypeArg<CommandRegistry> |
open static fun create(vertx: Vertx): CommandRegistry
Create a new registry. |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): CommandRegistry |
|
open static fun getShared(: Vertx): CommandRegistry
Get the shared registry for the Vert.x instance. |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: CommandRegistry): CommandRegistry |
|
open fun registerCommand(command: Command): CommandRegistry
Like open fun registerCommand(command: Command, completionHandler: Handler<AsyncResult<Command>>): CommandRegistry
Register a command |
|
open fun registerCommands(commands: MutableList<Command>): CommandRegistry
Like open fun registerCommands(commands: MutableList<Command>, completionHandler: Handler<AsyncResult<MutableList<Command>>>): CommandRegistry
Register a list of commands. |
|
open fun rxRegisterCommand(command: Command): Single<Command>
Register a command |
|
open fun rxRegisterCommands(commands: MutableList<Command>): Single<MutableList<Command>>
Register a list of commands. |
|
open fun rxUnregisterCommand(commandName: String): Completable
Unregister a command. |
|
open fun toString(): String |
|
open fun unregisterCommand(commandName: String): CommandRegistry
Like open fun unregisterCommand(commandName: String, completionHandler: Handler<AsyncResult<Void>>): CommandRegistry
Unregister a command. |