Package org.springframework.shell.boot
Class ShellRunnerAutoConfiguration
java.lang.Object
org.springframework.shell.boot.ShellRunnerAutoConfiguration
-
Constructor Summary
ConstructorDescriptionShellRunnerAutoConfiguration
(Shell shell, PromptProvider promptProvider, org.jline.reader.LineReader lineReader, org.jline.reader.Parser parser, ShellContext shellContext) -
Method Summary
Modifier and TypeMethodDescriptionnonInteractiveApplicationRunner
(org.springframework.beans.factory.ObjectProvider<NonInteractiveShellRunnerCustomizer> customizer)
-
Constructor Details
-
ShellRunnerAutoConfiguration
public ShellRunnerAutoConfiguration(Shell shell, PromptProvider promptProvider, org.jline.reader.LineReader lineReader, org.jline.reader.Parser parser, ShellContext shellContext)
-
-
Method Details
-
interactiveApplicationRunner
@Bean @ConditionalOnProperty(prefix="spring.shell.interactive", value="enabled", havingValue="true", matchIfMissing=true) public InteractiveShellRunner interactiveApplicationRunner() -
nonInteractiveApplicationRunner
@Bean @ConditionalOnProperty(prefix="spring.shell.noninteractive", value="enabled", havingValue="true", matchIfMissing=true) public NonInteractiveShellRunner nonInteractiveApplicationRunner(org.springframework.beans.factory.ObjectProvider<NonInteractiveShellRunnerCustomizer> customizer) -
scriptApplicationRunner
@Bean @ConditionalOnProperty(prefix="spring.shell.script", value="enabled", havingValue="true", matchIfMissing=true) public ScriptShellRunner scriptApplicationRunner()
-