|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectch.sf.htt.ExecResult
public class ExecResult
Container for results of Runtime.exec() calls, immutable class.
| Constructor Summary | |
|---|---|
ExecResult(int returnCode,
java.util.List<java.lang.String> standardOut,
java.util.List<java.lang.String> standardErr)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getReturnCode()
Get the platform-specific return code of the external process. |
java.util.List<java.lang.String> |
getStandardErr()
Get all text that was produced by the external process on standard error. |
java.util.List<java.lang.String> |
getStandardOut()
Get all text that was produced by the external process on standard out. |
boolean |
wasSuccessful()
Allows to check if the test completed successfully. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecResult(int returnCode,
java.util.List<java.lang.String> standardOut,
java.util.List<java.lang.String> standardErr)
returnCode - The return code.standardOut - A list of strings where each entry will be a line for the output stream.standardErr - A list of strings where each entry will be a line for the error stream.| Method Detail |
|---|
public boolean wasSuccessful()
public int getReturnCode()
public java.util.List<java.lang.String> getStandardErr()
public java.util.List<java.lang.String> getStandardOut()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||