Package org.springframework.shell.result
package org.springframework.shell.result
Contains strategies for dealing with results of commands.
-
ClassDescriptionA
ResultHandler
that knows how to render JLine'sAttributedCharSequence
.Provider for a message used withinCommandNotFoundResultHandler
.Context forCommandNotFoundResultHandler
.A simpleResultHandler
that deals with Objects (hence comes as a last resort) and prints theObject.toString()
value of results to standard out.Base implementation suitable for use in most environments.Displays validation errors on the terminal.Used for explicit configuration ofResultHandler
s.Base class for ResultHandlers that rely on JLine'sTerminal
.A ResultHandler that printsTerminalSizeAware
according to theTerminal
size.AResultHandler
that prints thrown exceptions messages in red.