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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.shell.command.CommandCatalog
commandCatalog
(org.springframework.beans.factory.ObjectProvider<org.springframework.shell.MethodTargetRegistrar> methodTargetRegistrars, org.springframework.beans.factory.ObjectProvider<org.springframework.shell.command.CommandResolver> commandResolvers, org.springframework.beans.factory.ObjectProvider<org.springframework.shell.command.CommandCatalogCustomizer> commandCatalogCustomizers, org.springframework.shell.context.ShellContext shellContext) org.springframework.shell.command.CommandRegistration.BuilderSupplier
commandRegistrationBuilderSupplier
(org.springframework.beans.factory.ObjectProvider<CommandRegistrationCustomizer> customizerProvider) customOptionNameModifierCommandRegistrationCustomizer
(org.springframework.shell.command.CommandRegistration.OptionNameModifier modifier) org.springframework.shell.command.CommandCatalogCustomizer
defaultCommandCatalogCustomizer
(org.springframework.beans.factory.ObjectProvider<org.springframework.shell.command.CommandRegistration> commandRegistrations)
-
Constructor Details
-
CommandCatalogAutoConfiguration
public CommandCatalogAutoConfiguration()
-
-
Method Details
-
commandCatalog
@Bean @ConditionalOnMissingBean(org.springframework.shell.command.CommandCatalog.class) public org.springframework.shell.command.CommandCatalog commandCatalog(org.springframework.beans.factory.ObjectProvider<org.springframework.shell.MethodTargetRegistrar> methodTargetRegistrars, org.springframework.beans.factory.ObjectProvider<org.springframework.shell.command.CommandResolver> commandResolvers, org.springframework.beans.factory.ObjectProvider<org.springframework.shell.command.CommandCatalogCustomizer> commandCatalogCustomizers, org.springframework.shell.context.ShellContext shellContext) -
defaultCommandCatalogCustomizer
@Bean public org.springframework.shell.command.CommandCatalogCustomizer defaultCommandCatalogCustomizer(org.springframework.beans.factory.ObjectProvider<org.springframework.shell.command.CommandRegistration> commandRegistrations) -
helpOptionsCommandRegistrationCustomizer
@Bean public CommandRegistrationCustomizer helpOptionsCommandRegistrationCustomizer(SpringShellProperties properties) -
customOptionNameModifierCommandRegistrationCustomizer
@Bean @ConditionalOnBean(org.springframework.shell.command.CommandRegistration.OptionNameModifier.class) public CommandRegistrationCustomizer customOptionNameModifierCommandRegistrationCustomizer(org.springframework.shell.command.CommandRegistration.OptionNameModifier modifier) -
defaultOptionNameModifierCommandRegistrationCustomizer
@Bean @ConditionalOnMissingBean(org.springframework.shell.command.CommandRegistration.OptionNameModifier.class) @ConditionalOnProperty(prefix="spring.shell.option.naming", name="case-type") public CommandRegistrationCustomizer defaultOptionNameModifierCommandRegistrationCustomizer(SpringShellProperties properties) -
commandRegistrationBuilderSupplier
@Bean @ConditionalOnMissingBean public org.springframework.shell.command.CommandRegistration.BuilderSupplier commandRegistrationBuilderSupplier(org.springframework.beans.factory.ObjectProvider<CommandRegistrationCustomizer> customizerProvider)
-