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