class CRaSHCommandProcess extends CRaSHProcess
| Modifier and Type | Field and Description |
|---|---|
private CommandInvoker<Void,?> |
command
.
|
private CRaSHSession |
session
.
|
crash, request| Constructor and Description |
|---|
CRaSHCommandProcess(CRaSHSession session,
String request,
CommandInvoker<Void,?> command) |
| Modifier and Type | Method and Description |
|---|---|
private ShellResponse.Error |
build(Throwable throwable) |
(package private) ShellResponse |
doInvoke(ShellProcessContext context) |
KeyHandler |
getKeyHandler()
Returns the key handler or null if the process won't handle key events.
|
cancel, executeprivate final CRaSHSession session
private final CommandInvoker<Void,?> command
public CRaSHCommandProcess(CRaSHSession session, String request, CommandInvoker<Void,?> command)
public KeyHandler getKeyHandler()
ShellProcessgetKeyHandler in interface ShellProcessgetKeyHandler in class CRaSHProcessShellResponse doInvoke(ShellProcessContext context) throws InterruptedException
doInvoke in class CRaSHProcessInterruptedExceptionprivate ShellResponse.Error build(Throwable throwable)
Copyright © 2015 eXo Platform SAS. All Rights Reserved.