Package org.springframework.shell.boot
Class CommandCatalogAutoConfiguration
java.lang.Object
org.springframework.shell.boot.CommandCatalogAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(SpringShellProperties.class)
public class CommandCatalogAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncommandCatalog
(org.springframework.beans.factory.ObjectProvider<MethodTargetRegistrar> methodTargetRegistrars, org.springframework.beans.factory.ObjectProvider<CommandResolver> commandResolvers, org.springframework.beans.factory.ObjectProvider<CommandCatalogCustomizer> commandCatalogCustomizers, ShellContext shellContext) commandRegistrationBuilderSupplier
(org.springframework.beans.factory.ObjectProvider<CommandRegistrationCustomizer> customizerProvider) customOptionNameModifierCommandRegistrationCustomizer
(CommandRegistration.OptionNameModifier modifier) defaultCommandCatalogCustomizer
(org.springframework.beans.factory.ObjectProvider<CommandRegistration> commandRegistrations)
-
Constructor Details
-
CommandCatalogAutoConfiguration
public CommandCatalogAutoConfiguration()
-
-
Method Details
-
commandCatalog
@Bean @ConditionalOnMissingBean(CommandCatalog.class) public CommandCatalog commandCatalog(org.springframework.beans.factory.ObjectProvider<MethodTargetRegistrar> methodTargetRegistrars, org.springframework.beans.factory.ObjectProvider<CommandResolver> commandResolvers, org.springframework.beans.factory.ObjectProvider<CommandCatalogCustomizer> commandCatalogCustomizers, ShellContext shellContext) -
defaultCommandCatalogCustomizer
@Bean public CommandCatalogCustomizer defaultCommandCatalogCustomizer(org.springframework.beans.factory.ObjectProvider<CommandRegistration> commandRegistrations) -
helpOptionsCommandRegistrationCustomizer
@Bean public CommandRegistrationCustomizer helpOptionsCommandRegistrationCustomizer(SpringShellProperties properties) -
customOptionNameModifierCommandRegistrationCustomizer
@Bean @ConditionalOnBean(OptionNameModifier.class) public CommandRegistrationCustomizer customOptionNameModifierCommandRegistrationCustomizer(CommandRegistration.OptionNameModifier modifier) -
defaultOptionNameModifierCommandRegistrationCustomizer
@Bean @ConditionalOnMissingBean(OptionNameModifier.class) @ConditionalOnProperty(prefix="spring.shell.option.naming", name="case-type") public CommandRegistrationCustomizer defaultOptionNameModifierCommandRegistrationCustomizer(SpringShellProperties properties) -
commandRegistrationBuilderSupplier
@Bean @ConditionalOnMissingBean public CommandRegistration.BuilderSupplier commandRegistrationBuilderSupplier(org.springframework.beans.factory.ObjectProvider<CommandRegistrationCustomizer> customizerProvider)
-