Package org.springframework.shell.core
@NullMarked
package org.springframework.shell.core
Contains core classes for Spring Shell, irrespective of the way commands are actually
implemented.
- Author:
- Eric Bottard
-
ClassDescriptionA
ValueProviderthat can be used to auto-complete names of shell commands.Input provider based on the JVM's systemConsole.This exception, when thrown and caught, will ask the shell to gracefully shutdown.AnInputProviderthat reads input from a file.AValueProviderthat can populate names of localFiles, either absolute or relative to the current working directory.To be implemented by components able to provide a "line" of user input, whether interactively or by batch.Base class for interactive shell runners.AShellRunnerthat executes commands without entering interactive shell mode.Thrown when no ParameterResolver is found for a parameter during a resolve operation.Thrown when one or more parameters fail bean validation constraints.Interface for shell runners.Interactive shell runner based on the JVM's systemConsole.To be implemented by command result objects that can adapt to the terminal size when they are being rendered.Beans implementing this interface are queried during TAB completion to gather possible values of a parameter.A result for a successful resolve operation.