Package org.springframework.shell.boot
Class ShellRunnerAutoConfiguration.PrimaryCommandConfiguration
java.lang.Object
org.springframework.shell.boot.ShellRunnerAutoConfiguration.PrimaryCommandConfiguration
- Enclosing class:
- ShellRunnerAutoConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(SpringShellProperties.class)
@Conditional(OnPrimaryCommandCondition.class)
public static class ShellRunnerAutoConfiguration.PrimaryCommandConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnonInteractiveApplicationRunner
(Shell shell, ShellContext shellContext, org.springframework.beans.factory.ObjectProvider<NonInteractiveShellRunnerCustomizer> customizer, SpringShellProperties properties)
-
Constructor Details
-
PrimaryCommandConfiguration
public PrimaryCommandConfiguration()
-
-
Method Details
-
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, SpringShellProperties properties)
-