Class CommandBuilder
- java.lang.Object
-
- io.vertx.mutiny.ext.shell.command.CommandBuilder
-
public class CommandBuilder extends Object
A build for Vert.x Shell command. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<CommandBuilder>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description CommandBuilder(io.vertx.ext.shell.command.CommandBuilder delegate)
CommandBuilder(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Command
build(Vertx vertx)
static CommandBuilder
command(CLI cli)
static CommandBuilder
command(String name)
CommandBuilder
completionHandler(Consumer<Completion> handler)
boolean
equals(Object o)
io.vertx.ext.shell.command.CommandBuilder
getDelegate()
int
hashCode()
static CommandBuilder
newInstance(io.vertx.ext.shell.command.CommandBuilder arg)
CommandBuilder
processHandler(Consumer<CommandProcess> handler)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<CommandBuilder> __TYPE_ARG
-
-
Constructor Detail
-
CommandBuilder
public CommandBuilder(io.vertx.ext.shell.command.CommandBuilder delegate)
-
CommandBuilder
public CommandBuilder(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.shell.command.CommandBuilder getDelegate()
-
command
public static CommandBuilder command(String name)
- Parameters:
name
- the command name- Returns:
- the command
-
command
public static CommandBuilder command(CLI cli)
- Parameters:
cli
- the cli to use- Returns:
- the command
-
processHandler
public CommandBuilder processHandler(Consumer<CommandProcess> handler)
- Parameters:
handler
- the process handler- Returns:
-
completionHandler
public CommandBuilder completionHandler(Consumer<Completion> handler)
- Parameters:
handler
- the completion handler- Returns:
-
build
public Command build(Vertx vertx)
- Parameters:
vertx
- the vertx instance- Returns:
- the built command
-
newInstance
public static CommandBuilder newInstance(io.vertx.ext.shell.command.CommandBuilder arg)
-
-