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, execute
private final CRaSHSession session
private final CommandInvoker<Void,?> command
public CRaSHCommandProcess(CRaSHSession session, String request, CommandInvoker<Void,?> command)
public KeyHandler getKeyHandler()
ShellProcess
getKeyHandler
in interface ShellProcess
getKeyHandler
in class CRaSHProcess
ShellResponse doInvoke(ShellProcessContext context) throws InterruptedException
doInvoke
in class CRaSHProcess
InterruptedException
private ShellResponse.Error build(Throwable throwable)
Copyright © 2015 eXo Platform SAS. All Rights Reserved.