@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.shell.standard.commands.Help.Command.class) @EnableConfigurationProperties(value=SpringShellProperties.class) public class StandardCommandsAutoConfiguration extends Object
| Constructor and Description |
|---|
StandardCommandsAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Clear |
clear() |
Completion |
completion(SpringShellProperties properties) |
Help |
help(SpringShellProperties properties,
org.springframework.beans.factory.ObjectProvider<TemplateExecutor> templateExecutor) |
History |
historyCommand(org.jline.reader.History jLineHistory) |
Quit |
quit() |
Script |
script(org.jline.reader.Parser parser) |
Stacktrace |
stacktrace(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler) |
Version |
version(SpringShellProperties properties,
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.info.BuildProperties> buildProperties,
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.info.GitProperties> gitProperties,
org.springframework.beans.factory.ObjectProvider<TemplateExecutor> templateExecutor) |
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.standard.commands.Help.Command.class) @ConditionalOnProperty(prefix="spring.shell.command.help", value="enabled", havingValue="true", matchIfMissing=true) public Help help(SpringShellProperties properties, org.springframework.beans.factory.ObjectProvider<TemplateExecutor> templateExecutor)
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.standard.commands.Clear.Command.class) @ConditionalOnProperty(prefix="spring.shell.command.clear", value="enabled", havingValue="true", matchIfMissing=true) public Clear clear()
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.standard.commands.Quit.Command.class) @ConditionalOnProperty(prefix="spring.shell.command.quit", value="enabled", havingValue="true", matchIfMissing=true) public Quit quit()
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.standard.commands.Stacktrace.Command.class) @ConditionalOnProperty(prefix="spring.shell.command.stacktrace", value="enabled", havingValue="true", matchIfMissing=true) public Stacktrace stacktrace(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler)
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.standard.commands.Script.Command.class) @ConditionalOnProperty(prefix="spring.shell.command.script", value="enabled", havingValue="true", matchIfMissing=true) public Script script(org.jline.reader.Parser parser)
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.standard.commands.History.Command.class) @ConditionalOnProperty(prefix="spring.shell.command.history", value="enabled", havingValue="true", matchIfMissing=true) public History historyCommand(org.jline.reader.History jLineHistory)
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.standard.commands.Completion.Command.class) @Conditional(value=OnCompletionCommandCondition.class) public Completion completion(SpringShellProperties properties)
@Bean @ConditionalOnMissingBean(value=org.springframework.shell.standard.commands.Version.Command.class) @ConditionalOnProperty(prefix="spring.shell.command.version", value="enabled", havingValue="true", matchIfMissing=true) public Version version(SpringShellProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.info.BuildProperties> buildProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.info.GitProperties> gitProperties, org.springframework.beans.factory.ObjectProvider<TemplateExecutor> templateExecutor)
Copyright © 2023. All rights reserved.