public class ProcessEvent extends Object
| Constructor and Description |
|---|
ProcessEvent(int pPID,
ProcessStarter pProcessStarter)
Constructor (sets pid and ProcessStarter).
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException()
Query the exception-field of this event.
|
int |
getPID()
Query the process-id field of this event.
|
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(Exception pException)
Set the exception-field of this event.
|
void |
setProcess(Process pProcess)
Set the Process-object of this ProcessEvent.
|
void |
setReturnCode(int pReturnCode)
Set the return-code of the process.
|
public ProcessEvent(int pPID,
ProcessStarter pProcessStarter)
pPID - the process-id of this procespProcessStarter - the ProcessStarter generating this eventpublic void setReturnCode(int pReturnCode)
pReturnCode - the return-code to set.public int getReturnCode()
public void setProcess(Process pProcess)
pProcess - the Process to setpublic Process getProcess()
public void setException(Exception pException)
pException - the iException to setpublic Exception getException()
public int getPID()
public ProcessStarter getProcessStarter()
Copyright © 2019. All rights reserved.