Package org.springframework.shell.result
Class DefaultResultHandler
java.lang.Object
org.springframework.shell.result.TerminalAwareResultHandler<Object>
org.springframework.shell.result.DefaultResultHandler
- All Implemented Interfaces:
ResultHandler<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.-
Field Summary
Fields inherited from class org.springframework.shell.result.TerminalAwareResultHandler
terminal
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.shell.result.TerminalAwareResultHandler
handleResult
-
Constructor Details
-
DefaultResultHandler
public DefaultResultHandler(org.jline.terminal.Terminal terminal)
-
-
Method Details
-
doHandleResult
- Specified by:
doHandleResult
in classTerminalAwareResultHandler<Object>
-