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