public class TerminalSession
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
TerminalSession(<any> autoHelperProvider,
HookHandlerService hookHandlerService) |
Modifier and Type | Method and Description |
---|---|
AutocompleteResult |
autocomplete(java.lang.String command,
int cursorPosition) |
AutocompleteResult |
autocomplete(java.lang.String command,
int cursorPosition,
boolean forceResult) |
CommandResult |
ctrlC() |
CommandResult |
execute(java.lang.String command) |
CommandResult |
execute(java.lang.String command,
ExecuteCommandConfig config) |
<D extends TerminalSessionDeamonHook> |
getDeamon(java.lang.Class<D> type) |
VirtualFileSystemDeamon |
getFileSystem() |
ObjectResolverDeamon |
getObjectResolver() |
java.lang.String |
getSessionId() |
boolean |
isCheckRights() |
void |
setCheckRights(boolean checkRights) |
void |
stopHijacking() |
public TerminalSession(<any> autoHelperProvider, HookHandlerService hookHandlerService)
public <D extends TerminalSessionDeamonHook> D getDeamon(java.lang.Class<D> type)
public java.lang.String getSessionId()
public AutocompleteResult autocomplete(java.lang.String command, int cursorPosition) throws MaxAutocompleteResultsExceededException
public AutocompleteResult autocomplete(java.lang.String command, int cursorPosition, boolean forceResult) throws MaxAutocompleteResultsExceededException
public CommandResult execute(java.lang.String command) throws TerminalException
TerminalException
public CommandResult execute(java.lang.String command, ExecuteCommandConfig config) throws TerminalException
TerminalException
public CommandResult ctrlC() throws TerminalException
TerminalException
public void stopHijacking()
public VirtualFileSystemDeamon getFileSystem()
public ObjectResolverDeamon getObjectResolver()
public void setCheckRights(boolean checkRights)
public boolean isCheckRights()