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