Class InteractiveShellRunner.JLineInputProvider

java.lang.Object
org.springframework.shell.jline.InteractiveShellRunner.JLineInputProvider
All Implemented Interfaces:
InputProvider
Enclosing class:
InteractiveShellRunner

public static class InteractiveShellRunner.JLineInputProvider extends Object implements InputProvider
  • Constructor Details

    • JLineInputProvider

      public JLineInputProvider(org.jline.reader.LineReader lineReader, PromptProvider promptProvider)
  • Method Details

    • readInput

      public Input readInput()
      Description copied from interface: InputProvider
      Return text entered by user to invoke commands.

      Returning null indicates end of input, requesting shell exit.

      Specified by:
      readInput in interface InputProvider