Package | Description |
---|---|
org.springframework.shell |
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
|
org.springframework.shell.command | |
org.springframework.shell.result |
Contains strategies for dealing with results of commands.
|
org.springframework.shell.standard |
Contains infrastructure for describing commands with the "new" preferred Spring Shell programming model.
|
org.springframework.shell.standard.completion |
Modifier and Type | Method and Description |
---|---|
void |
MethodTargetRegistrar.register(CommandCatalog registry)
Register mappings from <command keyword(s)> to actual behavior.
|
Constructor and Description |
---|
Shell(ResultHandlerService resultHandlerService,
CommandCatalog commandRegistry,
org.jline.terminal.Terminal terminal,
ShellContext shellContext,
ExitCodeMappings exitCodeMappings) |
Modifier and Type | Class and Description |
---|---|
static class |
CommandCatalog.DefaultCommandCatalog
Default implementation of a
CommandCatalog . |
Modifier and Type | Method and Description |
---|---|
static CommandCatalog |
CommandCatalog.of()
Gets an instance of a default
CommandCatalog . |
static CommandCatalog |
CommandCatalog.of(Collection<CommandResolver> resolvers,
ShellContext shellContext)
Gets an instance of a default
CommandCatalog . |
Modifier and Type | Method and Description |
---|---|
void |
CommandCatalogCustomizer.customize(CommandCatalog commandCatalog)
Customize a command catalog.
|
Modifier and Type | Method and Description |
---|---|
ThrowableResultHandler |
ResultHandlerConfig.throwableResultHandler(org.jline.terminal.Terminal terminal,
CommandCatalog commandCatalog,
ShellContext shellContext,
org.springframework.beans.factory.ObjectProvider<InteractiveShellRunner> interactiveApplicationRunner) |
Constructor and Description |
---|
ThrowableResultHandler(org.jline.terminal.Terminal terminal,
CommandCatalog commandCatalog,
ShellContext shellContext,
org.springframework.beans.factory.ObjectProvider<InteractiveShellRunner> interactiveRunner) |
Modifier and Type | Method and Description |
---|---|
protected CommandCatalog |
AbstractShellComponent.getCommandCatalog() |
Modifier and Type | Method and Description |
---|---|
void |
StandardMethodTargetRegistrar.register(CommandCatalog registry) |
Constructor and Description |
---|
CommandValueProvider(CommandCatalog commandRegistry) |
Constructor and Description |
---|
AbstractCompletions(org.springframework.core.io.ResourceLoader resourceLoader,
CommandCatalog commandCatalog) |
BashCompletions(org.springframework.core.io.ResourceLoader resourceLoader,
CommandCatalog commandCatalog) |
Copyright © 2024. All rights reserved.