A Vert.x Shell command, it can be created from any language using the CommandBuilder.command or from a Java class using Command.create
Constructor and description |
---|
Command
(java.lang.Object delegate) |
Type | Name and description |
---|---|
CLI |
cli() @return
|
void |
complete(Completion completion) Perform command completion, when the command is done completing it should call or )} method to signal completion is done. |
Process |
createProcess() Create a new process with empty arguments. |
Process |
createProcess(java.util.List<CliToken> args) Create a new process with the passed arguments. |
java.lang.Object |
getDelegate() |
java.lang.String |
name() @return
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Perform command completion, when the command is done completing it should call or )} method to signal completion is done.
completion
- the completion objectCreate a new process with empty arguments.
Create a new process with the passed arguments.
args
- the process arguments