public abstract class TerminalAwareResultHandler<T> extends Object implements ResultHandler<T>
Terminal
.Modifier and Type | Field and Description |
---|---|
protected org.jline.terminal.Terminal |
terminal |
Modifier | Constructor and Description |
---|---|
protected |
TerminalAwareResultHandler(org.jline.terminal.Terminal terminal) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doHandleResult(T result) |
void |
handleResult(T result)
Deal with some method execution result, whether it was the normal return value, or some kind
of
Throwable . |
protected TerminalAwareResultHandler(org.jline.terminal.Terminal terminal)
public final void handleResult(T result)
ResultHandler
Throwable
.handleResult
in interface ResultHandler<T>
protected abstract void doHandleResult(T result)
Copyright © 2024. All rights reserved.