Class LineReaderAutoConfiguration

java.lang.Object
org.springframework.shell.boot.LineReaderAutoConfiguration

@AutoConfiguration @EnableConfigurationProperties(SpringShellProperties.class) public class LineReaderAutoConfiguration extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    LineReaderAutoConfiguration(org.jline.terminal.Terminal terminal, org.jline.reader.Completer completer, org.jline.reader.Parser parser, org.springframework.shell.command.CommandCatalog commandRegistry, org.jline.reader.History jLineHistory, SpringShellProperties springShellProperties, org.springframework.shell.config.UserConfigPathProvider userConfigPathProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jline.reader.LineReader
     
    void
    onContextClosedEvent(org.springframework.context.event.ContextClosedEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LineReaderAutoConfiguration

      public LineReaderAutoConfiguration(org.jline.terminal.Terminal terminal, org.jline.reader.Completer completer, org.jline.reader.Parser parser, org.springframework.shell.command.CommandCatalog commandRegistry, org.jline.reader.History jLineHistory, SpringShellProperties springShellProperties, org.springframework.shell.config.UserConfigPathProvider userConfigPathProvider)
  • Method Details

    • onContextClosedEvent

      @EventListener public void onContextClosedEvent(org.springframework.context.event.ContextClosedEvent event) throws IOException
      Throws:
      IOException
    • lineReader

      @Bean public org.jline.reader.LineReader lineReader()