Uses of Interface
org.springframework.shell.command.CommandCatalog
Packages that use CommandCatalog
Package
Description
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
Contains strategies for dealing with results of commands.
Contains infrastructure for describing commands with the "new" preferred Spring Shell programming model.
-
Uses of CommandCatalog in org.springframework.shell
Methods in org.springframework.shell with parameters of type CommandCatalogModifier and TypeMethodDescriptionvoid
MethodTargetRegistrar.register
(CommandCatalog registry) Register mappings from <command keyword(s)> to actual behavior.Constructors in org.springframework.shell with parameters of type CommandCatalogModifierConstructorDescriptionShell
(ResultHandlerService resultHandlerService, CommandCatalog commandRegistry, org.jline.terminal.Terminal terminal, ShellContext shellContext, ExitCodeMappings exitCodeMappings) -
Uses of CommandCatalog in org.springframework.shell.boot
Methods in org.springframework.shell.boot that return CommandCatalogModifier and TypeMethodDescriptionCommandCatalogAutoConfiguration.commandCatalog
(org.springframework.beans.factory.ObjectProvider<MethodTargetRegistrar> methodTargetRegistrars, org.springframework.beans.factory.ObjectProvider<CommandResolver> commandResolvers, org.springframework.beans.factory.ObjectProvider<CommandCatalogCustomizer> commandCatalogCustomizers, ShellContext shellContext) Methods in org.springframework.shell.boot with parameters of type CommandCatalogModifier and TypeMethodDescriptionStandardAPIAutoConfiguration.commandValueProvider
(CommandCatalog commandRegistry) SpringShellAutoConfiguration.shell
(ResultHandlerService resultHandlerService, CommandCatalog commandRegistry, org.jline.terminal.Terminal terminal, ShellConversionServiceSupplier shellConversionServiceSupplier, ShellContext shellContext, ExitCodeMappings exitCodeMappings) Constructors in org.springframework.shell.boot with parameters of type CommandCatalogModifierConstructorDescriptionLineReaderAutoConfiguration
(org.jline.terminal.Terminal terminal, org.jline.reader.Completer completer, org.jline.reader.Parser parser, CommandCatalog commandRegistry, org.jline.reader.History jLineHistory, SpringShellProperties springShellProperties, UserConfigPathProvider userConfigPathProvider) -
Uses of CommandCatalog in org.springframework.shell.command
Classes in org.springframework.shell.command that implement CommandCatalogMethods in org.springframework.shell.command that return CommandCatalogModifier and TypeMethodDescriptionstatic CommandCatalog
CommandCatalog.of()
Gets an instance of a defaultCommandCatalog
.static CommandCatalog
CommandCatalog.of
(Collection<CommandResolver> resolvers, ShellContext shellContext) Gets an instance of a defaultCommandCatalog
.Methods in org.springframework.shell.command with parameters of type CommandCatalogModifier and TypeMethodDescriptionvoid
CommandCatalogCustomizer.customize
(CommandCatalog commandCatalog) Customize a command catalog.static CommandExecution
CommandExecution.of
(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, jakarta.validation.Validator validator, org.jline.terminal.Terminal terminal, ShellContext shellContext, org.springframework.core.convert.ConversionService conversionService, CommandCatalog commandCatalog) Gets an instance of a defaultCommandExecution
.Constructors in org.springframework.shell.command with parameters of type CommandCatalogModifierConstructorDescriptionDefaultCommandExecution
(List<? extends org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> resolvers, jakarta.validation.Validator validator, org.jline.terminal.Terminal terminal, ShellContext shellContext, org.springframework.core.convert.ConversionService conversionService, CommandCatalog commandCatalog) -
Uses of CommandCatalog in org.springframework.shell.result
Methods in org.springframework.shell.result with parameters of type CommandCatalogModifier and TypeMethodDescriptionResultHandlerConfig.throwableResultHandler
(org.jline.terminal.Terminal terminal, CommandCatalog commandCatalog, ShellContext shellContext, org.springframework.beans.factory.ObjectProvider<InteractiveShellRunner> interactiveApplicationRunner) Constructors in org.springframework.shell.result with parameters of type CommandCatalogModifierConstructorDescriptionThrowableResultHandler
(org.jline.terminal.Terminal terminal, CommandCatalog commandCatalog, ShellContext shellContext, org.springframework.beans.factory.ObjectProvider<InteractiveShellRunner> interactiveRunner) -
Uses of CommandCatalog in org.springframework.shell.standard
Methods in org.springframework.shell.standard that return CommandCatalogModifier and TypeMethodDescriptionprotected CommandCatalog
AbstractShellComponent.getCommandCatalog()
Methods in org.springframework.shell.standard with parameters of type CommandCatalogModifier and TypeMethodDescriptionvoid
StandardMethodTargetRegistrar.register
(CommandCatalog registry) Constructors in org.springframework.shell.standard with parameters of type CommandCatalog -
Uses of CommandCatalog in org.springframework.shell.standard.completion
Constructors in org.springframework.shell.standard.completion with parameters of type CommandCatalogModifierConstructorDescriptionAbstractCompletions
(org.springframework.core.io.ResourceLoader resourceLoader, CommandCatalog commandCatalog) BashCompletions
(org.springframework.core.io.ResourceLoader resourceLoader, CommandCatalog commandCatalog) ZshCompletions
(org.springframework.core.io.ResourceLoader resourceLoader, CommandCatalog commandCatalog)