|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.im4java.process.ProcessEvent
public class ProcessEvent
This class wraps return-code and Exceptions of a terminated process.
Constructor Summary | |
---|---|
ProcessEvent(int pPID,
ProcessStarter pProcessStarter)
Constructor (sets pid and ProcessStarter). |
Method Summary | |
---|---|
java.lang.Exception |
getException()
Query the exception-field of this event. |
int |
getPID()
Query the process-id field of this event. |
java.lang.Process |
getProcess()
Get the Process-object of this ProcessEvent. |
ProcessStarter |
getProcessStarter()
Query the ProcessStarter field of this event. |
int |
getReturnCode()
Get the return-code of the process. |
void |
setException(java.lang.Exception pException)
Set the exception-field of this event. |
void |
setProcess(java.lang.Process pProcess)
Set the Process-object of this ProcessEvent. |
void |
setReturnCode(int pReturnCode)
Set the return-code of the process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessEvent(int pPID, ProcessStarter pProcessStarter)
pPID
- the process-id of this procespProcessStarter
- the ProcessStarter generating this eventMethod Detail |
---|
public void setReturnCode(int pReturnCode)
pReturnCode
- the return-code to set.public int getReturnCode()
public void setProcess(java.lang.Process pProcess)
pProcess
- the Process to setpublic java.lang.Process getProcess()
public void setException(java.lang.Exception pException)
pException
- the iException to setpublic java.lang.Exception getException()
public int getPID()
public ProcessStarter getProcessStarter()
|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |