Class CommandCompleter

java.lang.Object
jline.console.completer.StringsCompleter
org.springframework.boot.cli.command.shell.CommandCompleter
All Implemented Interfaces:
jline.console.completer.Completer

public class CommandCompleter extends jline.console.completer.StringsCompleter
JLine Completer for Spring Boot Commands.
Since:
1.0.0
Author:
Jon Brisbin, Phillip Webb
  • Constructor Details

    • CommandCompleter

      public CommandCompleter(jline.console.ConsoleReader consoleReader, jline.console.completer.ArgumentCompleter.ArgumentDelimiter argumentDelimiter, Iterable<Command> commands)
  • Method Details

    • complete

      public int complete(String buffer, int cursor, List<CharSequence> candidates)
      Specified by:
      complete in interface jline.console.completer.Completer
      Overrides:
      complete in class jline.console.completer.StringsCompleter