|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.util.exec.ExecResult
public class ExecResult
A container for the result of a process execution. This comprises
an exit code and (if Disposition.MEMORY is elected) the
captured contents of the interleaved standard output and error
streams.
| Constructor Summary | |
|---|---|
ExecResult(int exitCode,
byte[] output)
Creates a new container for the given exit code and captured output. |
|
| Method Summary | |
|---|---|
int |
getExitCode()
Returns the exit code. |
byte[] |
getOutput()
Returns the captured output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecResult(int exitCode,
byte[] output)
exitCode - The exit code.output - The captured output. It may be null if Disposition.MEMORY is not elected.| Method Detail |
|---|
public int getExitCode()
public byte[] getOutput()
Disposition.MEMORY is not elected.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||