| Package | Description |
|---|---|
| org.springframework.shell |
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
|
| org.springframework.shell.jcommander |
Provides integration with JCommander.
|
| 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 | Field and Description |
|---|---|
protected List<ParameterResolver> |
Shell.parameterResolvers |
| Modifier and Type | Method and Description |
|---|---|
void |
Shell.setParameterResolvers(List<ParameterResolver> resolvers) |
| Modifier and Type | Class and Description |
|---|---|
class |
JCommanderParameterResolver
Provides integration with JCommander.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StandardParameterResolver
Default ParameterResolver implementation that supports the following features:
named parameters (recognized because they start with some
ShellMethod.prefix())
implicit named parameters (from the actual method parameter name)
positional parameters (in order, for all parameter values that were not resolved
via named parameters)
default values (for all remaining parameters)
|
| Modifier and Type | Method and Description |
|---|---|
protected Stream<ParameterResolver> |
AbstractShellComponent.getParameterResolver() |
| Constructor and Description |
|---|
AbstractCompletions(org.springframework.core.io.ResourceLoader resourceLoader,
CommandRegistry commandRegistry,
List<ParameterResolver> parameterResolvers) |
BashCompletions(org.springframework.core.io.ResourceLoader resourceLoader,
CommandRegistry commandRegistry,
List<ParameterResolver> parameterResolvers) |
Copyright © 2022. All rights reserved.