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 TypeMethodDescriptionorg.springframework.shell.jline.InteractiveShellRunner
interactiveApplicationRunner
(org.jline.reader.LineReader lineReader, org.springframework.shell.jline.PromptProvider promptProvider, org.springframework.shell.Shell shell, org.springframework.shell.context.ShellContext shellContext) org.springframework.shell.jline.NonInteractiveShellRunner
nonInteractiveApplicationRunner
(org.springframework.shell.Shell shell, org.springframework.shell.context.ShellContext shellContext, org.springframework.beans.factory.ObjectProvider<NonInteractiveShellRunnerCustomizer> customizer) org.springframework.shell.jline.ScriptShellRunner
scriptApplicationRunner
(org.jline.reader.Parser parser, org.springframework.shell.Shell shell)
-
Constructor Details
-
NonePrimaryCommandConfiguration
public NonePrimaryCommandConfiguration()
-
-
Method Details
-
interactiveApplicationRunner
@Bean @ConditionalOnProperty(prefix="spring.shell.interactive", value="enabled", havingValue="true", matchIfMissing=true) public org.springframework.shell.jline.InteractiveShellRunner interactiveApplicationRunner(org.jline.reader.LineReader lineReader, org.springframework.shell.jline.PromptProvider promptProvider, org.springframework.shell.Shell shell, org.springframework.shell.context.ShellContext shellContext) -
nonInteractiveApplicationRunner
@Bean @ConditionalOnProperty(prefix="spring.shell.noninteractive", value="enabled", havingValue="true", matchIfMissing=true) public org.springframework.shell.jline.NonInteractiveShellRunner nonInteractiveApplicationRunner(org.springframework.shell.Shell shell, org.springframework.shell.context.ShellContext shellContext, 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(org.jline.reader.Parser parser, org.springframework.shell.Shell shell)
-