|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.cafesoft.core.util.MonitoredProcessEvent
A MonitoredProcessEvent conveys information about MonitoredProcess state changes to MonitoredProcessEventListeners.
| Field Summary | |
static int |
DESTROYED
A MonitoredProcessException occurred. |
static int |
EXCEPTION
A MonitoredProcessException occurred. |
static int |
EXITED
The MonitoredProcess has exited. |
static int |
STARTED
Monitoring of the MonitoredProcess has starting. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
MonitoredProcessEvent(Object source,
int type,
String desc,
String processName)
Construct a new MonitoredProcessEvent with the specified parameters. |
|
MonitoredProcessEvent(Object source,
int type,
String desc,
String processName,
int exitValue)
Construct a new MonitoredProcessEvent with the specified parameters. |
|
MonitoredProcessEvent(Object source,
int type,
String desc,
String processName,
MonitoredProcessException exception)
Construct a new MonitoredProcessEvent with the specified parameters. |
|
| Method Summary | |
String |
getDescription()
Get the event description. |
MonitoredProcessException |
getException()
Return the MonitoredProcessException. |
int |
getExitValue()
Return the process exit value: NOTE: applies only if the event type is: STARTED or EXCEPTION. |
String |
getProcessName()
Get the process name. |
int |
getType()
Return the type. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int STARTED
public static final int EXITED
public static final int EXCEPTION
public static final int DESTROYED
| Constructor Detail |
public MonitoredProcessEvent(Object source,
int type,
String desc,
String processName)
source - the component sending or delivering the eventtype - the event typeprocessName - the MonitoredProcess namedesc - a textual descrption of the event
public MonitoredProcessEvent(Object source,
int type,
String desc,
String processName,
int exitValue)
source - the component sending or delivering the eventtype - the event typeprocessName - the MonitoredProcess namedesc - a textual descrption of the eventexitValue - the process exit value
public MonitoredProcessEvent(Object source,
int type,
String desc,
String processName,
MonitoredProcessException exception)
source - the component sending or delivering the eventtype - the event typeprocessName - the MonitoredProcess namedesc - a textual descrption of the eventexception - the MonitoredProcessException| Method Detail |
public int getType()
public String getDescription()
public String getProcessName()
public int getExitValue()
public MonitoredProcessException getException()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||