@Configuration @ConditionalOnMissingBean(value=org.jline.reader.History.class) public static class JLineShellAutoConfiguration.HistoryConfiguration extends Object
Constructor and Description |
---|
HistoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.jline.reader.History |
history(org.jline.reader.LineReader lineReader,
String historyPath) |
void |
onContextClosedEvent(org.springframework.context.event.ContextClosedEvent event) |
@Bean public org.jline.reader.History history(org.jline.reader.LineReader lineReader, @Value(value="${spring.application.name:spring-shell}.log") String historyPath)
@EventListener public void onContextClosedEvent(org.springframework.context.event.ContextClosedEvent event) throws IOException
IOException
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.