Package org.activiti.engine.runtime
Interface Execution
-
- All Known Subinterfaces:
ExecutionEntity,ProcessInstance
- All Known Implementing Classes:
ExecutionEntityImpl
@Internal public interface Execution
Represent a 'path of execution' in a process instance. Note that aProcessInstancealso is an execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActivityId()Returns the id of the activity where the execution currently is at.java.lang.StringgetDescription()Returns the description of this execution.java.lang.StringgetId()The unique identifier of the execution.java.lang.StringgetName()Returns the name of this execution.java.lang.StringgetParentId()Gets the id of the parent of this execution.java.lang.StringgetParentProcessInstanceId()Returns Id of the process instance related to the super execution of this execution.java.lang.StringgetProcessInstanceId()Id of the root of the execution tree representing the process instance.java.lang.StringgetRootProcessInstanceId()Id of the root of the execution tree representing the process instance that has no super execution.java.lang.StringgetSuperExecutionId()Gets the id of the super execution of this execution.java.lang.StringgetTenantId()The tenant identifier of this process instancebooleanisEnded()Indicates if the execution is ended.booleanisSuspended()Indicates if the execution is suspended.
-
-
-
Method Detail
-
getId
java.lang.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
java.lang.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
java.lang.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
java.lang.String getParentId()
Gets the id of the parent of this execution. If null, the execution represents a process-instance.
-
getSuperExecutionId
java.lang.String getSuperExecutionId()
Gets the id of the super execution of this execution.
-
getRootProcessInstanceId
java.lang.String getRootProcessInstanceId()
Id of the root of the execution tree representing the process instance that has no super execution.
-
getParentProcessInstanceId
java.lang.String getParentProcessInstanceId()
Returns Id of the process instance related to the super execution of this execution.
-
getTenantId
java.lang.String getTenantId()
The tenant identifier of this process instance
-
getName
java.lang.String getName()
Returns the name of this execution.
-
getDescription
java.lang.String getDescription()
Returns the description of this execution.
-
-