public class DefaultResultHandler extends TerminalAwareResultHandler<Object>
ResultHandler
that deals with Objects (hence comes as a last resort)
and prints the Object.toString()
value of results to standard out.terminal
Constructor and Description |
---|
DefaultResultHandler(org.jline.terminal.Terminal terminal) |
Modifier and Type | Method and Description |
---|---|
protected void |
doHandleResult(Object result) |
handleResult
public DefaultResultHandler(org.jline.terminal.Terminal terminal)
protected void doHandleResult(Object result)
doHandleResult
in class TerminalAwareResultHandler<Object>
Copyright © 2024. All rights reserved.