public final class CommandResult extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_EXIT_STATUS
Used when the exit status is not available.
|
| Constructor and Description |
|---|
CommandResult(int exitStatus,
String stdOut,
String stdErr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExitStatus()
Returns the exit status of the command.
|
String |
getStdErr()
Returns the standard error output of the command.
|
String |
getStdOut()
Returns the standard output of the command.
|
String |
toString() |
public static final int NO_EXIT_STATUS
CommandFuture or when the
exit status is not returned from an otherwise successful remote process.