| 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.legacy |
Provides integration with Spring Shell 1.
|
| org.springframework.shell.standard |
Contains infrastructure for describing commands with the "new" preferred Spring Shell programming model.
|
| org.springframework.shell.standard.commands |
Contains default commands that ought to apply to each shell app.
|
| 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 |
LegacyParameterResolver
Resolves parameters by looking at the
CliOption annotation and acting
accordingly. |
| 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 |
|---|---|
ParameterResolver |
StandardAPIAutoConfiguration.standardParameterResolver(org.springframework.core.convert.ConversionService conversionService) |
| Modifier and Type | Method and Description |
|---|---|
Help |
StandardCommandsAutoConfiguration.help(List<ParameterResolver> parameterResolvers) |
| Constructor and Description |
|---|
Help(List<ParameterResolver> parameterResolvers) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.