Package: io.vertx.groovy.ext.shell.command

## [Groovy] Class CommandResolver

- io.vertx.groovy.ext.shell.command.CommandResolver

- A resolver for commands, so the shell can discover commands.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `CommandResolver (java.lang.Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static CommandResolver` | `baseCommands(Vertx vertx)` @return the base commands of Vert.x Shell.
    `java.util.List<Command>` | `commands()` @return Returns: the current commands
    `Command` | `getCommand(java.lang.String name)` Returns a single command by its name.
    `java.lang.Object` | `getDelegate()`

  - ### Inherited Methods Summary

    Inherited Methods
    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()`

- - ### Constructor Detail

    - #### CommandResolver(java.lang.Object delegate)

  - ### Method Detail

    - #### static CommandResolver baseCommands(Vertx vertx)

      Returns:
        the base commands of Vert.x Shell.
      Parameters:
        vertx

    - #### java.util.List<Command> commands()

      Returns:
        the current commands

    - #### Command getCommand(java.lang.String name)

      Returns a single command by its name.

      Returns:
        the commad or null
      Parameters:
        `name` - the command name

    - #### java.lang.Object getDelegate()