See: Description
Interface | Description |
---|---|
ShellOption.NoValueProvider | |
ValueProvider |
Beans implementing this interface are queried during TAB completion to gather possible values of a parameter.
|
Class | Description |
---|---|
CommandValueProvider |
A
ValueProvider that can be used to auto-complete names of shell commands. |
EnumValueProvider |
A
ValueProvider that knows how to complete values for Enum typed parameters. |
FileValueProvider |
A
ValueProvider that can populate names of local File s, either absolute or relative to the
current working directory. |
StandardAPIAutoConfiguration |
Sets up all required beans for supporting the standard Shell API.
|
StandardMethodTargetRegistrar |
The standard implementation of
MethodTargetRegistrar for new shell
applications, resolves methods annotated with ShellMethod on
ShellComponent beans. |
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)
|
ValueProviderSupport |
Base class for
ValueProvider that match by type. |
Annotation Type | Description |
---|---|
ShellCommandGroup |
Used to indicate the default group of shell commands, either at the package or class level.
|
ShellComponent |
Indicates that an annotated class may contain shell methods (themselves annotated with
ShellMethod ) that
is,
methods that may be invoked reflectively by the shell. |
ShellMethod |
Used to mark a method as invokable via Spring Shell.
|
ShellMethodAvailability |
Used to customize the name of the method used to indicate availability of a command.
|
ShellOption |
Used to customize handling of a
ShellMethod parameter. |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.