public class SplitTableResultHijacker extends java.lang.Object implements TerminalSessionHijackHook
Constructor and Description |
---|
SplitTableResultHijacker() |
Modifier and Type | Method and Description |
---|---|
CommandResult |
adapt(TerminalSession terminalSession,
CommandResult result) |
AutocompleteResult |
autocomplete(TerminalSession terminalSession,
java.lang.String command,
int cursorPosition,
boolean forceResult) |
boolean |
consumes(TerminalSession terminalSession,
CommandResult result) |
CommandResult |
ctrlC(TerminalSession terminalSession) |
CommandResult |
execute(TerminalSession terminalSession,
java.lang.String command) |
boolean |
wantsToContinue(TerminalSession terminalSession,
java.lang.String command) |
public AutocompleteResult autocomplete(TerminalSession terminalSession, java.lang.String command, int cursorPosition, boolean forceResult)
autocomplete
in interface TerminalSessionHijackHook
public CommandResult execute(TerminalSession terminalSession, java.lang.String command)
execute
in interface TerminalSessionHijackHook
public boolean consumes(TerminalSession terminalSession, CommandResult result)
consumes
in interface TerminalSessionHijackHook
public CommandResult adapt(TerminalSession terminalSession, CommandResult result)
adapt
in interface TerminalSessionHijackHook
public CommandResult ctrlC(TerminalSession terminalSession)
ctrlC
in interface TerminalSessionHijackHook
public boolean wantsToContinue(TerminalSession terminalSession, java.lang.String command)
wantsToContinue
in interface TerminalSessionHijackHook