abstract class CRaSHProcess extends Object implements ShellProcess
| Modifier and Type | Field and Description |
|---|---|
private boolean |
cancelled
.
|
protected CRaSHSession |
crash
.
|
protected String |
request
.
|
private Thread |
thread
.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CRaSHProcess(CRaSHSession crash,
String request) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Signals the process it should be cancelled.
|
(package private) abstract ShellResponse |
doInvoke(ShellProcessContext context) |
void |
execute(ShellProcessContext processContext)
Begin the process.
|
KeyHandler |
getKeyHandler()
Returns the key handler or null if the process won't handle key events.
|
protected final CRaSHSession crash
private volatile boolean cancelled
protected CRaSHProcess(CRaSHSession crash, String request)
public void execute(ShellProcessContext processContext)
ShellProcessShellProcessContext.end(ShellResponse) method.execute in interface ShellProcessprocessContext - the process contextpublic KeyHandler getKeyHandler()
ShellProcessgetKeyHandler in interface ShellProcessabstract ShellResponse doInvoke(ShellProcessContext context) throws InterruptedException
InterruptedExceptionpublic void cancel()
ShellProcessShellProcessContext.end(ShellResponse) method.cancel in interface ShellProcessCopyright © 2015 eXo Platform SAS. All Rights Reserved.