Class DefaultResultHandler

java.lang.Object
org.springframework.shell.result.TerminalAwareResultHandler<Object>
org.springframework.shell.result.DefaultResultHandler
All Implemented Interfaces:
ResultHandler<Object>

public class DefaultResultHandler extends TerminalAwareResultHandler<Object>
A simple ResultHandler that deals with Objects (hence comes as a last resort) and prints the Object.toString() value of results to standard out.
  • Constructor Details

    • DefaultResultHandler

      public DefaultResultHandler(org.jline.terminal.Terminal terminal)
  • Method Details