Package org.springframework.shell.boot
Class LineReaderAutoConfiguration
java.lang.Object
org.springframework.shell.boot.LineReaderAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(SpringShellProperties.class)
public class LineReaderAutoConfiguration
extends Object
-
Constructor Summary
ConstructorDescriptionLineReaderAutoConfiguration
(org.jline.terminal.Terminal terminal, org.jline.reader.Completer completer, org.jline.reader.Parser parser, CommandCatalog commandRegistry, org.jline.reader.History jLineHistory, SpringShellProperties springShellProperties, UserConfigPathProvider userConfigPathProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.jline.reader.LineReader
void
onContextClosedEvent
(org.springframework.context.event.ContextClosedEvent event)
-
Constructor Details
-
LineReaderAutoConfiguration
public LineReaderAutoConfiguration(org.jline.terminal.Terminal terminal, org.jline.reader.Completer completer, org.jline.reader.Parser parser, CommandCatalog commandRegistry, org.jline.reader.History jLineHistory, SpringShellProperties springShellProperties, 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()
-