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.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescription |
ParameterDescription.defaultValue(String defaultValue) |
ParameterDescription |
ParameterDescription.elementDescriptor(javax.validation.metadata.ElementDescriptor descriptor) |
ParameterDescription |
ParameterDescription.formal(String formal) |
ParameterDescription |
UnfinishedParameterResolutionException.getParameterDescription() |
ParameterDescription |
ParameterMissingResolutionException.getParameterDescription() |
ParameterDescription |
ParameterDescription.help(String help) |
ParameterDescription |
ParameterDescription.keys(List<String> keys) |
ParameterDescription |
ParameterDescription.mandatoryKey(boolean mandatoryKey) |
static ParameterDescription |
ParameterDescription.outOf(org.springframework.core.MethodParameter parameter) |
ParameterDescription |
ParameterDescription.whenFlag(String defaultValue) |
Modifier and Type | Method and Description |
---|---|
Stream<ParameterDescription> |
ParameterResolver.describe(org.springframework.core.MethodParameter parameter)
Describe a supported parameter, so that integrated help can be generated.
|
Constructor and Description |
---|
ParameterMissingResolutionException(ParameterDescription parameterDescription) |
UnfinishedParameterResolutionException(ParameterDescription parameterDescription,
CharSequence input) |
Modifier and Type | Method and Description |
---|---|
Stream<ParameterDescription> |
JCommanderParameterResolver.describe(org.springframework.core.MethodParameter parameter) |
Modifier and Type | Method and Description |
---|---|
Stream<ParameterDescription> |
LegacyParameterResolver.describe(org.springframework.core.MethodParameter parameter) |
Modifier and Type | Method and Description |
---|---|
Stream<ParameterDescription> |
StandardParameterResolver.describe(org.springframework.core.MethodParameter parameter) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.