io.vertx.rxjava.ext.shell.command

## Class Command

- java.lang.Object
- - io.vertx.rxjava.ext.shell.command.Command

-     public class Command
      extends Object

  A Vert.x Shell command, it can be created from any language using the `CommandBuilder.command(java.lang.String)` or from a Java class using `io.vertx.rxjava.ext.shell.command.Command#create`

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Command(Command delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `CLI` | `cli()`
    `void` | `complete(Completion completion)` Perform command completion, when the command is done completing it should call or )} method to signal completion is done.
    `Object` | `getDelegate()`
    `String` | `name()`
    `static Command` | `newInstance(Command arg)`
    `void` | `process(CommandProcess process)` Process the command, when the command is done processing it should call the `CommandProcess.end()` method.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Command

          public Command(Command delegate)

  - ### Method Detail

    - #### getDelegate

          public Object getDelegate()

    - #### name

          public String name()

      Returns:
        the command name

    - #### cli

          public CLI cli()

      Returns:
        the command line interface, can be null

    - #### process

          public void process(CommandProcess process)

      Process the command, when the command is done processing it should call the `CommandProcess.end()` method.
      Parameters:
        `process` - the command process

    - #### complete

          public void complete(Completion completion)

      Perform command completion, when the command is done completing it should call or )} method to signal completion is done.
      Parameters:
        `completion` - the completion object

    - #### newInstance

          public static Command newInstance(Command arg)

Copyright © 2015. All rights reserved.