Class Command
- java.lang.Object
 - 
- io.vertx.mutiny.ext.shell.command.Command
 
 
- 
public class Command extends Object
A Vert.x Shell command, it can be created from any language using theCommandBuilder.command(java.lang.String)or from a Java class usingio.vertx.mutiny.ext.shell.command.Command#createNOTE: 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<Command>__TYPE_ARG 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CLIcli()voidcomplete(Completion completion)ProcesscreateProcess()ProcesscreateProcess(List<CliToken> args)booleanequals(Object o)io.vertx.ext.shell.command.CommandgetDelegate()inthashCode()Stringname()static CommandnewInstance(io.vertx.ext.shell.command.Command arg)StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
Command
public Command(io.vertx.ext.shell.command.Command delegate)
 
- 
Command
public Command(Object delegate)
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.ext.shell.command.Command getDelegate()
 
- 
name
public String name()
- Returns:
 - the command name
 
 
- 
cli
public CLI cli()
- Returns:
 - the command line interface, can be null
 
 
- 
createProcess
public Process createProcess()
- Returns:
 - the process
 
 
- 
createProcess
public Process createProcess(List<CliToken> args)
- Parameters:
 args- the process arguments- Returns:
 - the process
 
 
- 
complete
public void complete(Completion completion)
- Parameters:
 completion- the completion object
 
- 
newInstance
public static Command newInstance(io.vertx.ext.shell.command.Command arg)
 
 - 
 
 -