|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.tools.ProcessExecutor.ProcessExecutionResult
public class ProcessExecutor.ProcessExecutionResult
Holds process execution result.
| Method Summary | |
|---|---|
int |
getExitValue()
Retrieve the status exit code of the process |
String |
getStderr()
The text written to the standard error. |
String |
getStdout()
The text written to the standard output. |
boolean |
hasTimedOut()
Check if the process was stopped after a timeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getExitValue()
0 indicates normal termination.public String getStdout()
Requires captureOuput option of ProcessExecutor to be enabled.
ProcessExecutor.setCaptureOutput(boolean)public String getStderr()
Requires captureOuput option of ProcessExecutor to be enabled.
ProcessExecutor.setCaptureOutput(boolean)public boolean hasTimedOut()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||