public class CommandRegistry extends CommandResolver
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<CommandRegistry> |
__TYPE_ARG |
Constructor and Description |
---|
CommandRegistry(io.vertx.ext.shell.command.CommandRegistry delegate) |
CommandRegistry(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static CommandRegistry |
create(Vertx vertx)
Create a new registry.
|
boolean |
equals(Object o) |
io.vertx.ext.shell.command.CommandRegistry |
getDelegate() |
static CommandRegistry |
getShared(Vertx vertx)
Get the shared registry for the Vert.x instance.
|
int |
hashCode() |
static CommandRegistry |
newInstance(io.vertx.ext.shell.command.CommandRegistry arg) |
io.reactivex.rxjava3.core.Single<Command> |
registerCommand(Command command)
Register a command
|
io.reactivex.rxjava3.core.Single<List<Command>> |
registerCommands(List<Command> commands)
Register a list of commands.
|
io.reactivex.rxjava3.core.Single<Command> |
rxRegisterCommand(Command command)
Register a command
|
io.reactivex.rxjava3.core.Single<List<Command>> |
rxRegisterCommands(List<Command> commands)
Register a list of commands.
|
io.reactivex.rxjava3.core.Completable |
rxUnregisterCommand(String commandName)
Unregister a command.
|
String |
toString() |
io.reactivex.rxjava3.core.Completable |
unregisterCommand(String commandName)
Unregister a command.
|
baseCommands, commands, getCommand, newInstance
public static final TypeArg<CommandRegistry> __TYPE_ARG
public CommandRegistry(io.vertx.ext.shell.command.CommandRegistry delegate)
public CommandRegistry(Object delegate)
public String toString()
toString
in class CommandResolver
public boolean equals(Object o)
equals
in class CommandResolver
public int hashCode()
hashCode
in class CommandResolver
public io.vertx.ext.shell.command.CommandRegistry getDelegate()
getDelegate
in class CommandResolver
public static CommandRegistry getShared(Vertx vertx)
vertx
- the vertx instancepublic static CommandRegistry create(Vertx vertx)
vertx
- the vertx instancepublic io.reactivex.rxjava3.core.Single<Command> registerCommand(Command command)
command
- the command to registerpublic io.reactivex.rxjava3.core.Single<Command> rxRegisterCommand(Command command)
command
- the command to registerpublic io.reactivex.rxjava3.core.Single<List<Command>> registerCommands(List<Command> commands)
commands
- the commands to registerpublic io.reactivex.rxjava3.core.Single<List<Command>> rxRegisterCommands(List<Command> commands)
commands
- the commands to registerpublic io.reactivex.rxjava3.core.Completable unregisterCommand(String commandName)
commandName
- the command namepublic io.reactivex.rxjava3.core.Completable rxUnregisterCommand(String commandName)
commandName
- the command namepublic static CommandRegistry newInstance(io.vertx.ext.shell.command.CommandRegistry arg)
Copyright © 2021 Eclipse. All rights reserved.