public interface ProcessMonitor
Modifier and Type | Method and Description |
---|---|
OProcess |
getProcess()
Returns the process object to be monitored.
|
ProcessInstance[] |
getProcessInstances(InstanceFilter filter)
Return a list of process instances.
|
java.lang.String |
getVariableData(java.lang.String processInstance,
java.lang.String scopeId,
java.lang.String variableName)
Inspect data variable.
|
void |
kill(java.lang.String processInstanceId)
Terminates the process instance
|
void |
pause(java.lang.String processInstanceId)
Pauses the process instance
|
void |
resume(java.lang.String processInstanceId)
Resumes the process instance (from paused state)
|
OProcess getProcess()
OProcess
are in the classpath.ProcessInstance[] getProcessInstances(InstanceFilter filter) throws MonitorException
filter
- process instance filterMonitorException
java.lang.String getVariableData(java.lang.String processInstance, java.lang.String scopeId, java.lang.String variableName) throws MonitorException
scopeId
- scope instance id of the variablevariableName
- variable nameMonitorException
void kill(java.lang.String processInstanceId) throws MonitorException
MonitorException
void pause(java.lang.String processInstanceId) throws MonitorException
MonitorException
void resume(java.lang.String processInstanceId) throws MonitorException
MonitorException