Package org.camunda.bpm.engine.runtime
Interface Execution
-
- All Known Subinterfaces:
ProcessInstance
,ProcessInstanceWithVariables
- All Known Implementing Classes:
ExecutionEntity
,ProcessInstanceWithVariablesImpl
public interface Execution
Represent a 'path of execution' in a process instance. Note that aProcessInstance
also is an execution.- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getId()
The unique identifier of the execution.java.lang.String
getProcessInstanceId()
Id of the root of the execution tree representing the process instance.java.lang.String
getTenantId()
The id of the tenant this execution belongs to.boolean
isEnded()
Indicates if the execution is ended.boolean
isSuspended()
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.
-
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.
-
getTenantId
java.lang.String getTenantId()
The id of the tenant this execution belongs to. Can benull
if the execution belongs to no single tenant.
-
-