|
jBPM distribution 6.1.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeDataService
This service provides an interface to retrieve data about the runtime, including the following:
Method Detail |
---|
Collection<ProcessInstanceDesc> getProcessInstances()
ProcessInstanceDesc
instances representing the available process instances.Collection<ProcessInstanceDesc> getProcessInstances(List<Integer> states, String initiator)
states
- A list of possible state (int) values that the ProcessInstance
can have.initiator
- The initiator of the ProcessInstance
.
ProcessInstanceDesc
instances representing the process instances that match
the given criteria (states and inititator).Collection<ProcessInstanceDesc> getProcessInstancesByProcessId(List<Integer> states, String processId, String initiator)
states
- A list of possible state (int) values that the ProcessInstance
can have.processId
- The id of the Process
(definition) used when starting the process instance.initiator
- The initiator of the ProcessInstance
.
ProcessInstanceDesc
instances representing the process instances that match
the given criteria (states, processId, and inititator).Collection<ProcessInstanceDesc> getProcessInstancesByProcessName(List<Integer> states, String processName, String initiator)
states
- A list of possible state (int) values that the ProcessInstance
can have.processName
- The name (not id!) of the Process
(definition) used when starting the process instance.initiator
- The initiator of the ProcessInstance
.
ProcessInstanceDesc
instances representing the process instances that match
the given criteria (states, processName and inititator).Collection<ProcessInstanceDesc> getProcessInstancesByDeploymentId(String deploymentId, List<Integer> states)
deploymentId
- The deployment id of the runtime.states
- A list of possible state (int) values that the ProcessInstance
can have.
ProcessInstanceDesc
instances representing the process instances that match
the given criteria (deploymentId and states).ProcessInstanceDesc getProcessInstanceById(long processId)
processId
- The id of the process (definition) used to start the ProcessInstance
.
ProcessInstanceDesc
instance.Collection<ProcessInstanceDesc> getProcessInstancesByProcessDefinition(String processDefId)
processDefId
- The id of the process (definition)
ProcessInstanceDesc
instances representing the process instances that match
the given criteria (deploymentId and states).Collection<NodeInstanceDesc> getProcessInstanceHistory(String deploymentId, long processId)
deploymentId
- processId
-
Collection<NodeInstanceDesc> getProcessInstanceHistory(String deploymentId, long processId, boolean completed)
deploymentId
- processId
- completed
-
Collection<NodeInstanceDesc> getProcessInstanceFullHistory(String deploymentId, long processId)
deploymentId
- The id of the deployment (runtime).processId
- The id of the process used to start the process instance.
NodeInstance
information, in the form of a list of NodeInstanceDesc
instances,
that comes from a process instance that matches the given criteria (deploymentId, processId).Collection<NodeInstanceDesc> getProcessInstanceActiveNodes(String deploymentId, long processId)
deploymentId
- processId
-
Collection<NodeInstanceDesc> getProcessInstanceCompletedNodes(String deploymentId, long processId)
deploymentId
- processId
-
Collection<VariableStateDesc> getVariablesCurrentState(long processInstanceId)
processInstanceId
- The process instance id.
VariableStateDesc
instances.Collection<VariableStateDesc> getVariableHistory(long processInstanceId, String variableId)
processInstanceId
- The process instance id.variableId
- The id of the variable
VariableStateDesc
instances.Collection<ProcessAssetDesc> getProcessesByDeploymentId(String deploymentId)
deploymentId
- The deployment id of the runtime.
ProcessAssetDesc
instances representing processes that match
the given criteria (deploymentId)Collection<ProcessAssetDesc> getProcessesByFilter(String filter)
filter
- A regular expression.
ProcessAssetDesc
instances whose name or id matches the given regular expression.Collection<ProcessAssetDesc> getProcesses()
ProcessAssetDesc
instances.Collection<String> getProcessIds(String deploymentId)
deploymentId
- The deployment id of the runtime.
ProcessAssetDesc getProcessById(String processId)
processId
- The id of the process
ProcessAssetDesc
instance, representing the Process
with the specified (process) id.ProcessAssetDesc getProcessesByDeploymentIdProcessId(String deploymentId, String processId)
deploymentId
- The id of the deployment (runtime)processId
- The id of the process
ProcessAssetDesc
instance, representing the Process
that is present in the specified deployment with the specified (process) id.
|
jBPM distribution 6.1.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |