|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.common.executor.ExecutorResult
public class ExecutorResult
This class represents the result of an execution.
Constructor Summary | |
---|---|
ExecutorResult()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Two executor results are equal if their stderr, stdout and exitvalue are equal. |
int |
getExitValue()
Returns the exit value of the process |
java.lang.String |
getStderr()
Returns the error of the process |
java.lang.String |
getStdout()
Returns the standard output of the process |
void |
setExitValue(int exitValue)
Sets the exit value of the process. |
void |
setStderr(java.lang.String stderr)
Set the error of the process. |
void |
setStdout(java.lang.String stdout)
Set the standard output of the process. |
java.lang.String |
toString()
Returns a textual representation of an ExecutorResult . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExecutorResult()
Method Detail |
---|
public java.lang.String toString()
ExecutorResult
.
toString
in class java.lang.Object
public int getExitValue()
public java.lang.String getStderr()
public java.lang.String getStdout()
public void setExitValue(int exitValue)
exitValue
- The exit value of the processpublic void setStderr(java.lang.String stderr)
stderr
- The standard err of the processpublic void setStdout(java.lang.String stdout)
stdout
- The standard output of the processpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |