SimpleOrFileNameCompletor (Grails 3.2.4)
Date: 2016-12-21

Package: org.grails.cli.interactive.completers

## [Groovy] Class SimpleOrFileNameCompletor

- org.grails.cli.interactive.completers.SimpleOrFileNameCompletor

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

      class SimpleOrFileNameCompletor
      extends java.lang.Object

  JLine Completor that mixes a fixed set of options with file path matches. Fixed options that match will appear first, followed by file path matches.

  Authors:
    Peter Ledbrook
  Since:
    2.0

- - ### Constructor Summary

    Constructors
    Constructor and description
    `SimpleOrFileNameCompletor (java.util.List fixedOptions)`
    `SimpleOrFileNameCompletor (java.lang.String[] fixedOptions)`

  - ### Methods Summary

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

  - ### 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

    - #### SimpleOrFileNameCompletor(java.util.List fixedOptions)

    - #### SimpleOrFileNameCompletor(java.lang.String[] fixedOptions)

  - ### Method Detail

    - #### int complete(java.lang.String buffer, int cursor, java.util.List candidates)