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 TypeClassDescriptionclassAResultHandlerthat knows how to render JLine'sAttributedCharSequence.final classclassA simpleResultHandlerthat deals with Objects (hence comes as a last resort) and prints theObject.toString()value of results to standard out.classDisplays validation errors on the terminal.classBase class for ResultHandlers that rely on JLine'sTerminal.classA ResultHandler that printsTerminalSizeAwareaccording to theTerminalsize.classAResultHandlerthat prints thrown exceptions messages in red.Methods in org.springframework.shell.result with parameters of type ResultHandlerModifier and TypeMethodDescription<T> voidGenericResultHandlerService.addResultHandler(Class<T> resultType, ResultHandler<? super T> resultHandler) Add a plain result handler to this registry.voidGenericResultHandlerService.addResultHandler(ResultHandler<?> resultHandler) Add a plain result handler to this registry.