public class SSHInlineCommand extends AbstractCommand implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected static int |
ERROR
.
|
protected static Logger |
log
.
|
protected static int |
OK
.
|
| Constructor and Description |
|---|
SSHInlineCommand(String command,
PluginContext pluginContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
run() |
void |
start(org.apache.sshd.server.Environment environment) |
setErrorStream, setExitCallback, setInputStream, setOutputStream, setSessionprotected static final Logger log
protected static final int OK
protected static final int ERROR
public SSHInlineCommand(String command, PluginContext pluginContext)
public void start(org.apache.sshd.server.Environment environment)
throws IOException
start in interface org.apache.sshd.server.CommandIOExceptionpublic void destroy()
destroy in interface org.apache.sshd.server.CommandCopyright © 2015 eXo Platform SAS. All Rights Reserved.