Package org.springframework.shell.boot
Class ShellRunnerAutoConfiguration
java.lang.Object
org.springframework.shell.boot.ShellRunnerAutoConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.shell.core.command.CommandParserorg.springframework.shell.core.ConsoleInputProviderorg.springframework.shell.core.ShellRunnerjlineShellRunner(org.springframework.shell.jline.JLineInputProvider inputProvider, org.springframework.shell.core.command.CommandParser commandParser, org.springframework.shell.core.command.CommandRegistry commandRegistry) org.springframework.shell.core.ShellRunnernonInteractiveShellRunner(org.springframework.shell.core.command.CommandParser commandParser, org.springframework.shell.core.command.CommandRegistry commandRegistry) org.springframework.boot.ApplicationRunnerspringShellApplicationRunner(org.springframework.shell.core.ShellRunner shellRunner) org.springframework.shell.core.ShellRunnersystemShellRunner(org.springframework.shell.core.ConsoleInputProvider consoleInputProvider, org.springframework.shell.core.command.CommandParser commandParser, org.springframework.shell.core.command.CommandRegistry commandRegistry)
-
Constructor Details
-
ShellRunnerAutoConfiguration
public ShellRunnerAutoConfiguration()
-
-
Method Details
-
springShellApplicationRunner
@Bean @ConditionalOnMissingBean public org.springframework.boot.ApplicationRunner springShellApplicationRunner(org.springframework.shell.core.ShellRunner shellRunner) -
systemShellRunner
@Bean @ConditionalOnMissingClass("org.springframework.shell.jline.DefaultJLineShellConfiguration") public org.springframework.shell.core.ShellRunner systemShellRunner(org.springframework.shell.core.ConsoleInputProvider consoleInputProvider, org.springframework.shell.core.command.CommandParser commandParser, org.springframework.shell.core.command.CommandRegistry commandRegistry) -
jlineShellRunner
@Bean @ConditionalOnClass(name="org.springframework.shell.jline.JLineInputProvider") public org.springframework.shell.core.ShellRunner jlineShellRunner(org.springframework.shell.jline.JLineInputProvider inputProvider, org.springframework.shell.core.command.CommandParser commandParser, org.springframework.shell.core.command.CommandRegistry commandRegistry) -
nonInteractiveShellRunner
@Bean @ConditionalOnProperty(prefix="spring.shell.interactive", name="enabled", havingValue="false") public org.springframework.shell.core.ShellRunner nonInteractiveShellRunner(org.springframework.shell.core.command.CommandParser commandParser, org.springframework.shell.core.command.CommandRegistry commandRegistry) -
consoleInputProvider
@Bean @ConditionalOnMissingBean public org.springframework.shell.core.ConsoleInputProvider consoleInputProvider() -
commandParser
@Bean @ConditionalOnMissingBean public org.springframework.shell.core.command.CommandParser commandParser()
-