public class ReadOnlyDelegateExecutionImpl extends Object implements ReadOnlyDelegateExecution
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected boolean |
concurrent |
protected String |
currentActivityId |
protected org.flowable.bpmn.model.FlowElement |
currentFlowElement |
protected boolean |
ended |
protected String |
eventName |
protected String |
id |
protected boolean |
multiInstanceRoot |
protected String |
parentId |
protected String |
processDefinitionId |
protected String |
processInstanceBusinessKey |
protected String |
processInstanceId |
protected boolean |
processInstanceType |
protected String |
propagatedStageInstanceId |
protected String |
rootProcessInstanceId |
protected boolean |
scope |
protected String |
superExecutionId |
protected String |
tenantId |
protected Map<String,Object> |
variables |
| Constructor and Description |
|---|
ReadOnlyDelegateExecutionImpl(DelegateExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentActivityId()
Gets the id of the current activity.
|
org.flowable.bpmn.model.FlowElement |
getCurrentFlowElement()
The BPMN element where the execution currently is at.
|
String |
getEventName()
Will contain the event name in case this execution is passed in for an
ExecutionListener. |
String |
getId()
Unique id of this path of execution that can be used as a handle to provide external signals back into the engine after wait states.
|
String |
getParentId()
Gets the id of the parent of this execution.
|
String |
getProcessDefinitionId()
The process definition key for the process instance this execution is associated with.
|
String |
getProcessInstanceBusinessKey()
The business key for the process instance this execution is associated with.
|
String |
getProcessInstanceId()
Reference to the overall process instance
|
String |
getPropagatedStageInstanceId()
If this execution runs in the context of a case and stage, this method returns it's closest parent stage instance id (the stage plan item instance id to be
precise).
|
String |
getRootProcessInstanceId()
The 'root' process instance.
|
String |
getSuperExecutionId()
Gets the id of the calling execution.
|
String |
getTenantId() |
Object |
getVariable(String variableName) |
boolean |
hasVariable(String variableName) |
boolean |
isActive()
returns whether this execution is currently active.
|
boolean |
isConcurrent()
returns whether this execution is concurrent or not.
|
boolean |
isEnded()
returns whether this execution has ended or not.
|
boolean |
isMultiInstanceRoot()
Returns whether this execution is the root of a multi instance execution.
|
boolean |
isProcessInstanceType()
returns whether this execution is a process instance or not.
|
boolean |
isScope()
Returns whether this execution is a scope.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetTransientVariable, setVariableprotected final String id
protected final String processInstanceId
protected final String rootProcessInstanceId
protected final String eventName
protected final String processInstanceBusinessKey
protected final String processDefinitionId
protected final String propagatedStageInstanceId
protected final String parentId
protected final String superExecutionId
protected final String currentActivityId
protected final String tenantId
protected final org.flowable.bpmn.model.FlowElement currentFlowElement
protected final boolean active
protected final boolean ended
protected final boolean concurrent
protected final boolean processInstanceType
protected final boolean scope
protected final boolean multiInstanceRoot
public ReadOnlyDelegateExecutionImpl(DelegateExecution execution)
public String getId()
ReadOnlyDelegateExecutiongetId in interface ReadOnlyDelegateExecutionpublic String getProcessInstanceId()
ReadOnlyDelegateExecutiongetProcessInstanceId in interface ReadOnlyDelegateExecutionpublic String getRootProcessInstanceId()
ReadOnlyDelegateExecutiongetRootProcessInstanceId in interface ReadOnlyDelegateExecutionpublic String getEventName()
ReadOnlyDelegateExecutionExecutionListener.getEventName in interface ReadOnlyDelegateExecutionpublic String getProcessInstanceBusinessKey()
ReadOnlyDelegateExecutiongetProcessInstanceBusinessKey in interface ReadOnlyDelegateExecutionpublic String getProcessDefinitionId()
ReadOnlyDelegateExecutiongetProcessDefinitionId in interface ReadOnlyDelegateExecutionpublic String getPropagatedStageInstanceId()
ReadOnlyDelegateExecutiongetPropagatedStageInstanceId in interface ReadOnlyDelegateExecutionpublic String getParentId()
ReadOnlyDelegateExecutiongetParentId in interface ReadOnlyDelegateExecutionpublic String getSuperExecutionId()
ReadOnlyDelegateExecutiongetSuperExecutionId in interface ReadOnlyDelegateExecutionpublic String getCurrentActivityId()
ReadOnlyDelegateExecutiongetCurrentActivityId in interface ReadOnlyDelegateExecutionpublic String getTenantId()
getTenantId in interface VariableContainerpublic org.flowable.bpmn.model.FlowElement getCurrentFlowElement()
ReadOnlyDelegateExecutiongetCurrentFlowElement in interface ReadOnlyDelegateExecutionpublic boolean isActive()
ReadOnlyDelegateExecutionisActive in interface ReadOnlyDelegateExecutionpublic boolean isEnded()
ReadOnlyDelegateExecutionisEnded in interface ReadOnlyDelegateExecutionpublic boolean isConcurrent()
ReadOnlyDelegateExecutionisConcurrent in interface ReadOnlyDelegateExecutionpublic boolean isProcessInstanceType()
ReadOnlyDelegateExecutionisProcessInstanceType in interface ReadOnlyDelegateExecutionpublic boolean isScope()
ReadOnlyDelegateExecutionisScope in interface ReadOnlyDelegateExecutionpublic boolean isMultiInstanceRoot()
ReadOnlyDelegateExecutionisMultiInstanceRoot in interface ReadOnlyDelegateExecutionpublic Object getVariable(String variableName)
getVariable in interface VariableContainerpublic boolean hasVariable(String variableName)
hasVariable in interface VariableContainerCopyright © 2020 Flowable. All rights reserved.