Class TerminalSession
java.lang.Object
net.datenwerke.rs.terminal.service.terminal.TerminalSession
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTerminalSession(<any> autoHelperProvider, HookHandlerService hookHandlerService) -
Method Summary
Modifier and TypeMethodDescriptionautocomplete(String command, int cursorPosition) autocomplete(String command, int cursorPosition, boolean forceResult) ctrlC()execute(String command, ExecuteCommandConfig config) <D extends TerminalSessionDeamonHook>
DbooleanvoidsetCheckRights(boolean checkRights) void
-
Constructor Details
-
Method Details
-
getDeamon
-
getSessionId
-
autocomplete
public AutocompleteResult autocomplete(String command, int cursorPosition) throws MaxAutocompleteResultsExceededException -
autocomplete
public AutocompleteResult autocomplete(String command, int cursorPosition, boolean forceResult) throws MaxAutocompleteResultsExceededException -
execute
- Throws:
TerminalException
-
execute
- Throws:
TerminalException
-
ctrlC
- Throws:
TerminalException
-
stopHijacking
public void stopHijacking() -
getFileSystem
-
getObjectResolver
-
setCheckRights
public void setCheckRights(boolean checkRights) -
isCheckRights
public boolean isCheckRights()
-