public class SshResult extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EXIT_VALUE
The value of this header is the exit value that is returned, after the
execution.
|
static String |
STDERR
The value of this header is a
InputStream with the standard error
stream of the executable. |
Constructor and Description |
---|
SshResult(String command,
Integer exitValue,
InputStream out,
InputStream err) |
Modifier and Type | Method and Description |
---|---|
String |
getCommand() |
Integer |
getExitValue() |
InputStream |
getStderr() |
InputStream |
getStdout() |
public static final String STDERR
InputStream
with the standard error
stream of the executable.public static final String EXIT_VALUE
public SshResult(String command, Integer exitValue, InputStream out, InputStream err)
public String getCommand()
public Integer getExitValue()
public InputStream getStdout()
public InputStream getStderr()
Apache Camel