Package org.activiti.engine.runtime
Interface Execution
- All Known Subinterfaces:
ExecutionEntity,ProcessInstance
- All Known Implementing Classes:
ExecutionEntityImpl
Represent a 'path of execution' in a process instance.
Note that a
ProcessInstance also is an execution.-
Method Summary
Modifier and TypeMethodDescriptionReturns the id of the activity where the execution currently is at.Returns the description of this execution.getId()The unique identifier of the execution.getName()Returns the name of this execution.Gets the id of the parent of this execution.Returns Id of the process instance related to the super execution of this execution.Id of the root of the execution tree representing the process instance.Id of the root of the execution tree representing the process instance that has no super execution.Gets the id of the super execution of this execution.The tenant identifier of this process instancebooleanisEnded()Indicates if the execution is ended.booleanIndicates if the execution is suspended.
-
Method Details
-
getId
String getId()The unique identifier of the execution. -
isSuspended
boolean isSuspended()Indicates if the execution is suspended. -
isEnded
boolean isEnded()Indicates if the execution is ended. -
getActivityId
String getActivityId()Returns the id of the activity where the execution currently is at. Returns null if the execution is not a 'leaf' execution (eg concurrent parent). -
getProcessInstanceId
String getProcessInstanceId()Id of the root of the execution tree representing the process instance. It is the same asgetId()if this execution is the process instance. -
getParentId
String getParentId()Gets the id of the parent of this execution. If null, the execution represents a process-instance. -
getSuperExecutionId
String getSuperExecutionId()Gets the id of the super execution of this execution. -
getRootProcessInstanceId
String getRootProcessInstanceId()Id of the root of the execution tree representing the process instance that has no super execution. -
getParentProcessInstanceId
String getParentProcessInstanceId()Returns Id of the process instance related to the super execution of this execution. -
getTenantId
String getTenantId()The tenant identifier of this process instance -
getName
String getName()Returns the name of this execution. -
getDescription
String getDescription()Returns the description of this execution.
-