| Package | Description |
|---|---|
| org.springframework.shell |
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
|
| org.springframework.shell.result |
Contains strategies for dealing with results of commands.
|
| Modifier and Type | Method and Description |
|---|---|
Shell |
SpringShellAutoConfiguration.shell(ResultHandler resultHandler) |
| Constructor and Description |
|---|
Shell(ResultHandler resultHandler) |
| Modifier and Type | Class and Description |
|---|---|
class |
AttributedCharSequenceResultHandler
A
ResultHandler that knows how to render JLine's AttributedCharSequence. |
class |
CommandNotFoundResultHandler
Used when no command can be matched for user input.
|
class |
DefaultResultHandler
A simple
ResultHandler that deals with Objects (hence comes as a last resort)
and prints the Object.toString() value of results to standard out. |
class |
ExitRequestResultHandler
Intercepts
ExitRequest exceptions and gracefully exits the running process. |
class |
IterableResultHandler
A
ResultHandler that deals with Iterables and delegates to
TypeHierarchyResultHandler for each element in turn. |
class |
ParameterValidationExceptionResultHandler
Displays validation errors on the terminal.
|
class |
TerminalAwareResultHandler<T>
Base class for ResultHandlers that rely on JLine's
Terminal. |
class |
TerminalSizeAwareResultHandler
A ResultHandler that prints
TerminalSizeAware according to the Terminal size. |
class |
ThrowableResultHandler
A
ResultHandler that prints thrown exceptions messages in red. |
class |
TypeHierarchyResultHandler
A delegating
ResultHandler that dispatches handling based on the type of the result. |
| Modifier and Type | Method and Description |
|---|---|
ResultHandler<?> |
ResultHandlerConfig.mainResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeHierarchyResultHandler.setResultHandlers(Set<ResultHandler<?>> resultHandlers) |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.