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