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 theoriginalnon 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 Commandbuild(Vertx vertx)static CommandBuildercommand(CLI cli)static CommandBuildercommand(String name)CommandBuildercompletionHandler(Consumer<Completion> handler)booleanequals(Object o)io.vertx.ext.shell.command.CommandBuildergetDelegate()inthashCode()static CommandBuildernewInstance(io.vertx.ext.shell.command.CommandBuilder arg)CommandBuilderprocessHandler(Consumer<CommandProcess> handler)StringtoString()
-
-
-
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)
-
-