Uses of Interface
org.springframework.shell.ResultHandler
Packages that use ResultHandler
Package
Description
Contains strategies for dealing with results of commands.
-
Uses of ResultHandler in org.springframework.shell.boot
Method parameters in org.springframework.shell.boot with type arguments of type ResultHandlerModifier and TypeMethodDescriptionSpringShellAutoConfiguration.resultHandlerService
(Set<ResultHandler<?>> resultHandlers) -
Uses of ResultHandler in org.springframework.shell.result
Classes in org.springframework.shell.result that implement ResultHandlerModifier and TypeClassDescriptionclass
AResultHandler
that knows how to render JLine'sAttributedCharSequence
.final class
class
A simpleResultHandler
that deals with Objects (hence comes as a last resort) and prints theObject.toString()
value of results to standard out.class
Displays validation errors on the terminal.class
Base class for ResultHandlers that rely on JLine'sTerminal
.class
A ResultHandler that printsTerminalSizeAware
according to theTerminal
size.class
AResultHandler
that prints thrown exceptions messages in red.Methods in org.springframework.shell.result with parameters of type ResultHandlerModifier and TypeMethodDescription<T> void
GenericResultHandlerService.addResultHandler
(Class<T> resultType, ResultHandler<? super T> resultHandler) Add a plain result handler to this registry.void
GenericResultHandlerService.addResultHandler
(ResultHandler<?> resultHandler) Add a plain result handler to this registry.