Package org.springframework.shell.standard
package org.springframework.shell.standard
Contains infrastructure for describing commands with the "new" preferred Spring Shell programming model.
-
ClassDescriptionBase class helping to build shell components.A
ValueProvider
that can be used to auto-complete names of shell commands.AValueProvider
that knows how to complete values forEnum
typed parameters.AValueProvider
that can populate names of localFile
s, either absolute or relative to the current working directory.Used to indicate the default group of shell commands, either at the package or class level.Indicates that an annotated class may contain shell methods (themselves annotated withShellMethod
) that is, methods that may be invoked reflectively by the shell.Used to mark a method as invokable via Spring Shell.Used to customize the name of the method used to indicate availability of a command.Used to customize handling of aShellMethod
parameter.Resolver for@ShellOption
arguments.The standard implementation ofMethodTargetRegistrar
for new shell applications, resolves methods annotated withShellMethod
onShellComponent
beans.Beans implementing this interface are queried during TAB completion to gather possible values of a parameter.