@Configuration public class JLineShellAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JLineShellAutoConfiguration.CompleterAdapter
A bridge between JLine's
Completer contract and our own. |
static class |
JLineShellAutoConfiguration.HistoryConfiguration
Installs a default JLine history, and triggers saving to file on context shutdown.
|
Constructor and Description |
---|
JLineShellAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.ApplicationRunner |
applicationRunner(org.jline.reader.Parser parser) |
JLineShellAutoConfiguration.CompleterAdapter |
completer() |
void |
lateInit() |
org.jline.reader.LineReader |
lineReader() |
org.jline.reader.Parser |
parser() |
PromptProvider |
promptProvider() |
org.jline.terminal.Terminal |
terminal() |
@Bean(destroyMethod="close") public org.jline.terminal.Terminal terminal()
@Bean @ConditionalOnMissingBean(value=org.springframework.boot.ApplicationRunner.class) public org.springframework.boot.ApplicationRunner applicationRunner(org.jline.reader.Parser parser)
@Bean @ConditionalOnMissingBean(value=PromptProvider.class) public PromptProvider promptProvider()
@Bean public JLineShellAutoConfiguration.CompleterAdapter completer()
@PostConstruct public void lateInit()
@Bean public org.jline.reader.Parser parser()
@Bean public org.jline.reader.LineReader lineReader()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.