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(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) |
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, newInstancepublic static final 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 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(CommandRegistry arg)
Copyright © 2022 Eclipse. All rights reserved.