Package org.springframework.shell
Interface ResultHandler<T>
- All Known Implementing Classes:
AttributedCharSequenceResultHandler
,DefaultResultHandler
,ParameterValidationExceptionResultHandler
,TerminalAwareResultHandler
,TerminalSizeAwareResultHandler
,ThrowableResultHandler
public interface ResultHandler<T>
Implementations know how to deal with results of method invocations, whether normal results or exceptions thrown.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleResult
(T result) Deal with some method execution result, whether it was the normal return value, or some kind ofThrowable
.
-
Method Details
-
handleResult
Deal with some method execution result, whether it was the normal return value, or some kind ofThrowable
.
-