Package org.springframework.shell
package org.springframework.shell
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
-
ClassDescriptionIndicates whether or not a command is currently available.Interface resolving
Availability
.AReflectiveProcessor
implementation that registers methods of a return typeAvailability
from a target which is a class.Encapsulates help metadata about a shell command.Indicates that a command exists but is currently not invokable.A result to be handled by theResultHandler
when no command could be mapped to user inputAn extension ofParsedLine
that, being aware of the quoting and escaping rules of theParser
that produced it, knows if and how a completion candidate should be escaped/quoted.Represents the buffer context in which completion was triggered.Represents a proposal for TAB completion, made not only of the text to append, but also metadata about the proposal.DefaultShellApplicationRunner
which dispatches to the first orderedShellRunner
able to handle the shell.This exception, when thrown and caught, will ask the shell to gracefully shutdown.Represents the input buffer to the shell.To be implemented by components able to provide a "line" of user input, whether interactively or by batch.Strategy interface for registering commands.Thrown when no ParameterResolver is found for a parameter during a resolve operation.Thrown when one or more parameters fail bean validation constraints.Implementations know how to deal with results of method invocations, whether normal results or exceptions thrown.A service interface for result handling.Main class implementing a shell loop.Marker interface for a main spring shellApplicationRunner
.Interface for shell runners.To be implemented by command result objects that can adapt to the terminal size when they are being rendered.Some text utilities.A result for a successful resolve operation.Assertions forValueResult
.