@Configuration @ImportResource(value="classpath*:/META-INF/spring/spring-shell-plugin.xml") public class BaseShellAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BaseShellAutoConfiguration.DefaultShellComponents |
static class |
BaseShellAutoConfiguration.SkipperRegisterInternalCommands |
Constructor and Description |
---|
BaseShellAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
CommandLine |
commandLine(ShellCommandLineParser shellCommandLineParser,
ShellProperties shellProperties,
org.springframework.boot.ApplicationArguments applicationArguments) |
org.springframework.shell.core.JLineShellComponent |
shell(ConfigCommands configCommands,
TargetHolder targetHolder) |
ShellCommandLineParser |
shellCommandLineParser() |
ShellProperties |
shellProperties() |
TargetHolder |
targetHolder() |
@Bean public TargetHolder targetHolder()
@Bean public ShellCommandLineParser shellCommandLineParser()
@Bean public ShellProperties shellProperties()
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.CommandLine.class) public CommandLine commandLine(ShellCommandLineParser shellCommandLineParser, ShellProperties shellProperties, org.springframework.boot.ApplicationArguments applicationArguments) throws Exception
Exception
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.core.JLineShell.class) public org.springframework.shell.core.JLineShellComponent shell(ConfigCommands configCommands, TargetHolder targetHolder)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.