Uses of Interface
org.springframework.shell.context.ShellContext
Packages that use ShellContext
Package
Description
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
Contains classes that leverage the JLine library to hook into the Spring Shell REPL.
Contains strategies for dealing with results of commands.
-
Uses of ShellContext in org.springframework.shell
Constructors in org.springframework.shell with parameters of type ShellContextModifierConstructorDescriptionShell
(ResultHandlerService resultHandlerService, CommandCatalog commandRegistry, org.jline.terminal.Terminal terminal, ShellContext shellContext, ExitCodeMappings exitCodeMappings) -
Uses of ShellContext in org.springframework.shell.boot
Methods in org.springframework.shell.boot that return ShellContextModifier and TypeMethodDescriptionShellContextAutoConfiguration.shellContext
(org.jline.terminal.Terminal terminal) Methods in org.springframework.shell.boot with parameters of type ShellContextModifier 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) ShellRunnerAutoConfiguration.NonePrimaryCommandConfiguration.interactiveApplicationRunner
(org.jline.reader.LineReader lineReader, PromptProvider promptProvider, Shell shell, ShellContext shellContext) ShellRunnerAutoConfiguration.NonePrimaryCommandConfiguration.nonInteractiveApplicationRunner
(Shell shell, ShellContext shellContext, org.springframework.beans.factory.ObjectProvider<NonInteractiveShellRunnerCustomizer> customizer) ShellRunnerAutoConfiguration.PrimaryCommandConfiguration.nonInteractiveApplicationRunner
(Shell shell, ShellContext shellContext, org.springframework.beans.factory.ObjectProvider<NonInteractiveShellRunnerCustomizer> customizer, SpringShellProperties properties) SpringShellAutoConfiguration.shell
(ResultHandlerService resultHandlerService, CommandCatalog commandRegistry, org.jline.terminal.Terminal terminal, ShellConversionServiceSupplier shellConversionServiceSupplier, ShellContext shellContext, ExitCodeMappings exitCodeMappings) -
Uses of ShellContext in org.springframework.shell.command
Methods in org.springframework.shell.command that return ShellContextModifier and TypeMethodDescriptionCommandContext.DefaultCommandContext.getShellContext()
CommandContext.getShellContext()
Gets aShellContext
associated withCommandContext
.Methods in org.springframework.shell.command with parameters of type ShellContextModifier and TypeMethodDescriptionstatic CommandCatalog
CommandCatalog.of
(Collection<CommandResolver> resolvers, ShellContext shellContext) Gets an instance of a defaultCommandCatalog
.static CommandContext
CommandContext.of
(String[] args, CommandParser.CommandParserResults results, org.jline.terminal.Terminal terminal, CommandRegistration commandRegistration, ShellContext shellContext) Gets an instance of a defaultCommandContext
.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) Gets an instance of a defaultCommandExecution
.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 ShellContextModifierConstructorDescriptionDefaultCommandExecution
(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 ShellContext in org.springframework.shell.context
Classes in org.springframework.shell.context that implement ShellContext -
Uses of ShellContext in org.springframework.shell.jline
Constructors in org.springframework.shell.jline with parameters of type ShellContextModifierConstructorDescriptionInteractiveShellRunner
(org.jline.reader.LineReader lineReader, PromptProvider promptProvider, Shell shell, ShellContext shellContext) NonInteractiveShellRunner
(Shell shell, ShellContext shellContext) NonInteractiveShellRunner
(Shell shell, ShellContext shellContext, String primaryCommand) -
Uses of ShellContext in org.springframework.shell.result
Methods in org.springframework.shell.result with parameters of type ShellContextModifier 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 ShellContextModifierConstructorDescriptionThrowableResultHandler
(org.jline.terminal.Terminal terminal, CommandCatalog commandCatalog, ShellContext shellContext, org.springframework.beans.factory.ObjectProvider<InteractiveShellRunner> interactiveRunner)