CommandCompleter (Grails 6.0.0)

Package: org.grails.cli.profile.commands

## [Groovy] Class CommandCompleter

- org.grails.cli.profile.commands.CommandCompleter

- All Implemented Interfaces and Traits:
    jline.console.completer.Completer

      class CommandCompleter
      extends java.lang.Object
      implements jline.console.completer.Completer

  A completer for commands

  Authors:
    Graeme Rocher
  Since:
    3.1

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `private java.util.Collection<Command>` | `commands` |

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `java.util.Collection<Command>` | `commands`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `CommandCompleter (java.util.Collection<Command> commands)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `int` | `complete(java.lang.String buffer, int cursor, java.util.List<java.lang.CharSequence> candidates)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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()`

- - ### Field Detail

    - #### private java.util.Collection<Command> commands

  - ### Property Detail

    - #### java.util.Collection<Command> commands

  - ### Constructor Detail

    - #### CommandCompleter(java.util.Collection<Command> commands)

  - ### Method Detail

    - #### @java.lang.Override int complete(java.lang.String buffer, int cursor, java.util.List<java.lang.CharSequence> candidates)