Package | Description |
---|---|
io.vertx.ext.shell.command | |
io.vertx.ext.shell.command.base | |
io.vertx.reactivex.ext.shell.command | |
io.vertx.rxjava.ext.shell.command |
Modifier and Type | Method and Description |
---|---|
Command |
CommandBuilder.build(Vertx vertx)
Build the command
|
static Command |
Command.create(Vertx vertx,
Class<? extends AnnotatedCommand> clazz)
Create a command from a Java class, annotated with Vert.x Core CLI annotations.
|
default Command |
CommandResolver.getCommand(String name)
Returns a single command by its name.
|
Modifier and Type | Method and Description |
---|---|
List<Command> |
CommandResolver.commands() |
Future<Command> |
CommandRegistry.registerCommand(Class<? extends AnnotatedCommand> command)
Like
CommandRegistry.registerCommand(Class, Handler) , without a completion handler. |
Future<Command> |
CommandRegistry.registerCommand(Command command)
Like
CommandRegistry.registerCommand(Command, Handler) , without a completion handler. |
Future<List<Command>> |
CommandRegistry.registerCommands(List<Command> commands)
Like
CommandRegistry.registerCommands(List, Handler) , without a completion handler. |
Modifier and Type | Method and Description |
---|---|
Future<Command> |
CommandRegistry.registerCommand(Command command)
Like
CommandRegistry.registerCommand(Command, Handler) , without a completion handler. |
CommandRegistry |
CommandRegistry.registerCommand(Command command,
Handler<AsyncResult<Command>> completionHandler)
Register a command
|
Modifier and Type | Method and Description |
---|---|
CommandRegistry |
CommandRegistry.registerCommand(Class<? extends AnnotatedCommand> command,
Handler<AsyncResult<Command>> completionHandler)
Register a single command.
|
CommandRegistry |
CommandRegistry.registerCommand(Command command,
Handler<AsyncResult<Command>> completionHandler)
Register a command
|
Future<List<Command>> |
CommandRegistry.registerCommands(List<Command> commands)
Like
CommandRegistry.registerCommands(List, Handler) , without a completion handler. |
CommandRegistry |
CommandRegistry.registerCommands(List<Command> commands,
Handler<AsyncResult<List<Command>>> completionHandler)
Register a list of commands.
|
CommandRegistry |
CommandRegistry.registerCommands(List<Command> commands,
Handler<AsyncResult<List<Command>>> completionHandler)
Register a list of commands.
|
Modifier and Type | Method and Description |
---|---|
List<Command> |
BaseCommandPack.commands() |
Modifier and Type | Method and Description |
---|---|
Command |
Command.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Command |
Command.newInstance(Command arg) |
Constructor and Description |
---|
Command(Command delegate) |
Modifier and Type | Method and Description |
---|---|
Command |
Command.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Command |
Command.newInstance(Command arg) |
Constructor and Description |
---|
Command(Command delegate) |
Copyright © 2021 Eclipse. All rights reserved.