public interface ProcessMBean
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name of the process.
|
javax.management.openmbean.TabularData |
instanceQuerySimple(java.lang.String fromDate,
java.lang.String toDate,
short state)
Simple process instance query.
|
void |
kill(java.lang.Long pid)
Kill a process instance
|
void |
resume(java.lang.Long pid)
Resume a process that has been suspended.
|
javax.management.openmbean.CompositeData |
showInstanceDetail(java.lang.Long pid)
Return detailed information for a process instance.
|
javax.management.openmbean.TabularData |
showVariableData(java.lang.Long pid,
java.lang.String variableName,
int scopeModelId)
Results will include scopeModelId and scopeInstance
|
java.lang.String |
showVariableDataForScopeInstance(java.lang.Long pid,
java.lang.String variableName,
java.lang.Long scopeInstanceId)
Show the XML data for a given variable and scopeInstanceId.
|
void |
suspend(java.lang.Long pid)
Suspend an active process.
|
java.lang.String getName()
void suspend(java.lang.Long pid)
throws java.lang.Exception
pid - process instance idjava.lang.Exceptionvoid resume(java.lang.Long pid)
throws java.lang.Exception
pid - process instance idjava.lang.Exceptionvoid kill(java.lang.Long pid)
throws java.lang.Exception
pid - process instance idjava.lang.Exceptionjavax.management.openmbean.TabularData showVariableData(java.lang.Long pid,
java.lang.String variableName,
int scopeModelId)
throws java.lang.Exception
pid - process instance idvariableName - variablescopeModelId - (optional, use 0 for no value)java.lang.Exceptionjava.lang.String showVariableDataForScopeInstance(java.lang.Long pid,
java.lang.String variableName,
java.lang.Long scopeInstanceId)
throws java.lang.Exception
pid - process instance idvariableName - variablescopeInstanceId - scope instance idjava.lang.Exceptionjavax.management.openmbean.TabularData instanceQuerySimple(java.lang.String fromDate,
java.lang.String toDate,
short state)
throws java.lang.Exception
fromDate - (optional) of the form mm/dd/yy hh:mm, e.g. 02/17/2005 13:05toDate - (optional) of the form mm/dd/yy hh:mm, e.g. 02/17/2005 13:05state - (optional) filters by process state (see ProcessState for a list of valid states.java.lang.Exceptionjavax.management.openmbean.CompositeData showInstanceDetail(java.lang.Long pid)
throws java.lang.Exception
pid - process instance idjava.lang.Exception