Interface ResultHandler<T>

All Known Implementing Classes:
AttributedCharSequenceResultHandler, CommandNotFoundResultHandler, 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 Type
    Method
    Description
    void
    handleResult(T result)
    Deal with some method execution result, whether it was the normal return value, or some kind of Throwable.
  • Method Details

    • handleResult

      void handleResult(T result)
      Deal with some method execution result, whether it was the normal return value, or some kind of Throwable.