Package org.springframework.shell.boot
Class StandardCommandsAutoConfiguration
java.lang.Object
org.springframework.shell.boot.StandardCommandsAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(Command.class)
@EnableConfigurationProperties(SpringShellProperties.class)
public class StandardCommandsAutoConfiguration
extends Object
Creates beans for standard commands.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
completion
(SpringShellProperties properties) help
(SpringShellProperties properties, org.springframework.beans.factory.ObjectProvider<TemplateExecutor> templateExecutor) historyCommand
(org.jline.reader.History jLineHistory) quit()
script
(org.jline.reader.Parser parser) stacktrace
(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler) 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)
-
Constructor Details
-
StandardCommandsAutoConfiguration
public StandardCommandsAutoConfiguration()
-
-
Method Details
-
help
@Bean @ConditionalOnMissingBean(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) -
clear
@Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.clear", value="enabled", havingValue="true", matchIfMissing=true) public Clear clear() -
quit
@Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.quit", value="enabled", havingValue="true", matchIfMissing=true) public Quit quit() -
stacktrace
@Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.stacktrace", value="enabled", havingValue="true", matchIfMissing=true) public Stacktrace stacktrace(org.springframework.beans.factory.ObjectProvider<ThrowableResultHandler> throwableResultHandler) -
script
@Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.script", value="enabled", havingValue="true", matchIfMissing=true) public Script script(org.jline.reader.Parser parser) -
historyCommand
@Bean @ConditionalOnMissingBean(Command.class) @ConditionalOnProperty(prefix="spring.shell.command.history", value="enabled", havingValue="true", matchIfMissing=true) public History historyCommand(org.jline.reader.History jLineHistory) -
completion
@Bean @ConditionalOnMissingBean(Command.class) @Conditional(OnCompletionCommandCondition.class) public Completion completion(SpringShellProperties properties) -
version
@Bean @ConditionalOnMissingBean(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)
-