@Configuration(proxyBeanMethods=false) public class ShellRunnerAutoConfiguration extends Object
| Constructor and Description |
|---|
ShellRunnerAutoConfiguration(Shell shell,
PromptProvider promptProvider,
org.jline.reader.LineReader lineReader,
org.jline.reader.Parser parser,
ShellContext shellContext) |
| Modifier and Type | Method and Description |
|---|---|
InteractiveShellRunner |
interactiveApplicationRunner() |
NonInteractiveShellRunner |
nonInteractiveApplicationRunner(org.springframework.beans.factory.ObjectProvider<NonInteractiveShellRunnerCustomizer> customizer) |
ScriptShellRunner |
scriptApplicationRunner() |
public ShellRunnerAutoConfiguration(Shell shell, PromptProvider promptProvider, org.jline.reader.LineReader lineReader, org.jline.reader.Parser parser, ShellContext shellContext)
@Bean
@ConditionalOnProperty(prefix="spring.shell.interactive",
value="enabled",
havingValue="true",
matchIfMissing=true)
public InteractiveShellRunner interactiveApplicationRunner()
@Bean
@ConditionalOnProperty(prefix="spring.shell.noninteractive",
value="enabled",
havingValue="true",
matchIfMissing=true)
public NonInteractiveShellRunner nonInteractiveApplicationRunner(org.springframework.beans.factory.ObjectProvider<NonInteractiveShellRunnerCustomizer> customizer)
@Bean
@ConditionalOnProperty(prefix="spring.shell.script",
value="enabled",
havingValue="true",
matchIfMissing=true)
public ScriptShellRunner scriptApplicationRunner()
Copyright © 2023. All rights reserved.