|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.system.ProcessExecutionResults
public class ProcessExecutionResults
Encapsulates the results of a process that was executed via SystemInfo.executeProcess(ProcessExecution).
| Constructor Summary | |
|---|---|
ProcessExecutionResults()
|
|
| Method Summary | |
|---|---|
String |
getCapturedOutput()
Returns the full output of the process as a String. |
Throwable |
getError()
An error that occurred, typically due to a startup failure. |
Integer |
getExitCode()
If the process finished, this is its exit code. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessExecutionResults()
| Method Detail |
|---|
public Integer getExitCode()
This will be null if the process was never waited on or if the wait time expired before the
process exited.
null if it could not be determinedSystemInfo.executeProcess(ProcessExecution)public Throwable getError()
null if no known error occurredpublic String getCapturedOutput()
String. This returns null if the process's
output was not captured.
nullpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||