Package | Description |
---|---|
org.springframework.shell |
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,MethodTarget> |
Shell.methodTargets |
Modifier and Type | Method and Description |
---|---|
MethodTarget |
ParameterValidationException.getMethodTarget() |
static MethodTarget |
MethodTarget.of(String name,
Object bean,
Command.Help help)
Construct a MethodTarget for the unique method named name on the given object.
|
static MethodTarget |
MethodTarget.of(String name,
Object bean,
Command.Help help,
Supplier<Availability> availabilityIndicator)
Construct a MethodTarget for the unique method named name on the given object.
|
Modifier and Type | Method and Description |
---|---|
Map<String,MethodTarget> |
Shell.listCommands() |
Map<String,MethodTarget> |
ConfigurableCommandRegistry.listCommands() |
Map<String,MethodTarget> |
CommandRegistry.listCommands()
Return the mapping from command trigger keywords to implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableCommandRegistry.register(String name,
MethodTarget target) |
Constructor and Description |
---|
ParameterValidationException(Set<javax.validation.ConstraintViolation<Object>> constraintViolations,
MethodTarget methodTarget) |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.