|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessInstance
Interface for getting recorded (runtime) information on process instance.
Method Summary | |
---|---|
java.util.Set<ProcessInstanceUUID> |
getChildrenInstanceUUID()
If this instance is a parent execution, it returns UUID of children instances otherwise an empty set |
java.lang.String |
getEndedBy()
Returns the user finishing the instance of the workflow process. |
java.util.Date |
getEndedDate()
Returns the date recorded when the instance is finished. |
java.lang.Object |
getInitialVariableValue(java.lang.String variableId)
Returns the value of the variable with the specified key recorded at the instance creation. |
java.util.Map<java.lang.String,java.lang.Object> |
getInitialVariableValues()
Returns all global variables (for the process instance) defined within the xml definition file and also optionally added as parameter (variable map) of the instantiateProcess() method. |
InstanceState |
getInstanceState()
Returns the instance state. |
java.util.Map<java.lang.String,java.lang.Object> |
getLastKnownVariableValues()
Returns the map containing all variables with the last updated value. |
ProcessInstanceUUID |
getParentInstanceUUID()
If the instance is created to execute a subflow it returns the instance processDefinitionUUID of the instance creating this instance of subflow, otherwise it returns null. |
java.lang.String |
getStartedBy()
Returns the user creating and starting the instance of the workflow process. |
java.util.Date |
getStartedDate()
Returns the date recorded when the instance has been created and started. |
ProcessInstanceUUID |
getUUID()
Returns the UUID of the process instance. |
java.util.List<VariableUpdate> |
getVariableUpdates()
Gives access to the historic of variables updates. |
Methods inherited from interface org.ow2.bonita.facade.runtime.RuntimeRecord |
---|
getPackageDefinitionUUID, getProcessDefinitionUUID, getProcessInstanceUUID |
Method Detail |
---|
ProcessInstanceUUID getUUID()
ProcessInstanceUUID getParentInstanceUUID()
java.util.Set<ProcessInstanceUUID> getChildrenInstanceUUID()
java.util.Date getStartedDate()
java.util.Date getEndedDate()
java.lang.String getStartedBy()
java.lang.String getEndedBy()
java.util.Map<java.lang.String,java.lang.Object> getInitialVariableValues()
java.lang.Object getInitialVariableValue(java.lang.String variableId)
variableId
- the variable processDefinitionUUID.
java.util.Map<java.lang.String,java.lang.Object> getLastKnownVariableValues()
InstanceState getInstanceState()
java.util.List<VariableUpdate> getVariableUpdates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |