Class ReadOnlyDelegateExecutionImpl
java.lang.Object
org.flowable.engine.impl.delegate.ReadOnlyDelegateExecutionImpl
- All Implemented Interfaces:
VariableContainer,ReadOnlyDelegateExecution
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final booleanprotected final Stringprotected final FlowElementprotected final booleanprotected final Stringprotected final Stringprotected final booleanprotected final Stringprotected final Stringprotected final Stringprotected final Stringprotected final Stringprotected final booleanprotected final Stringprotected final Stringprotected final booleanprotected final Stringprotected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the id of the current activity.The BPMN element where the execution currently is at.Will contain the event name in case this execution is passed in for anExecutionListener.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.Gets the id of the parent of this execution.The process definition key for the process instance this execution is associated with.The business key for the process instance this execution is associated with.The business status for the process instance this execution is associated with.Reference to the overall process instanceIf 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).The 'root' process instance.Gets the id of the calling execution.getVariable(String variableName) booleanhasVariable(String variableName) booleanisActive()returns whether this execution is currently active.booleanreturns whether this execution is concurrent or not.booleanisEnded()returns whether this execution has ended or not.booleanReturns whether this execution is the root of a multi instance execution.booleanreturns whether this execution is a process instance or not.booleanisScope()Returns whether this execution is a scope.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.engine.delegate.ReadOnlyDelegateExecution
setTransientVariable, setVariable
-
Field Details
-
id
-
processInstanceId
-
rootProcessInstanceId
-
eventName
-
processInstanceBusinessKey
-
processInstanceBusinessStatus
-
processDefinitionId
-
propagatedStageInstanceId
-
parentId
-
superExecutionId
-
currentActivityId
-
tenantId
-
currentFlowElement
-
active
protected final boolean active -
ended
protected final boolean ended -
concurrent
protected final boolean concurrent -
processInstanceType
protected final boolean processInstanceType -
scope
protected final boolean scope -
multiInstanceRoot
protected final boolean multiInstanceRoot -
variables
-
-
Constructor Details
-
ReadOnlyDelegateExecutionImpl
-
-
Method Details
-
getId
Description copied from interface:ReadOnlyDelegateExecutionUnique id of this path of execution that can be used as a handle to provide external signals back into the engine after wait states.- Specified by:
getIdin interfaceReadOnlyDelegateExecution
-
getProcessInstanceId
Description copied from interface:ReadOnlyDelegateExecutionReference to the overall process instance- Specified by:
getProcessInstanceIdin interfaceReadOnlyDelegateExecution
-
getRootProcessInstanceId
Description copied from interface:ReadOnlyDelegateExecutionThe 'root' process instance. When using call activity for example, the processInstance set will not always be the root. This method returns the topmost process instance.- Specified by:
getRootProcessInstanceIdin interfaceReadOnlyDelegateExecution
-
getEventName
Description copied from interface:ReadOnlyDelegateExecutionWill contain the event name in case this execution is passed in for anExecutionListener.- Specified by:
getEventNamein interfaceReadOnlyDelegateExecution
-
getProcessInstanceBusinessKey
Description copied from interface:ReadOnlyDelegateExecutionThe business key for the process instance this execution is associated with.- Specified by:
getProcessInstanceBusinessKeyin interfaceReadOnlyDelegateExecution
-
getProcessInstanceBusinessStatus
Description copied from interface:ReadOnlyDelegateExecutionThe business status for the process instance this execution is associated with.- Specified by:
getProcessInstanceBusinessStatusin interfaceReadOnlyDelegateExecution
-
getProcessDefinitionId
Description copied from interface:ReadOnlyDelegateExecutionThe process definition key for the process instance this execution is associated with.- Specified by:
getProcessDefinitionIdin interfaceReadOnlyDelegateExecution
-
getPropagatedStageInstanceId
Description copied from interface:ReadOnlyDelegateExecutionIf 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).- Specified by:
getPropagatedStageInstanceIdin interfaceReadOnlyDelegateExecution- Returns:
- the stage instance id this execution belongs to or null, if this execution is not part of a case at all or is not a child element of a stage
-
getParentId
Description copied from interface:ReadOnlyDelegateExecutionGets the id of the parent of this execution. If null, the execution represents a process-instance.- Specified by:
getParentIdin interfaceReadOnlyDelegateExecution
-
getSuperExecutionId
Description copied from interface:ReadOnlyDelegateExecutionGets the id of the calling execution. If not null, the execution is part of a subprocess.- Specified by:
getSuperExecutionIdin interfaceReadOnlyDelegateExecution
-
getCurrentActivityId
Description copied from interface:ReadOnlyDelegateExecutionGets the id of the current activity.- Specified by:
getCurrentActivityIdin interfaceReadOnlyDelegateExecution
-
getTenantId
- Specified by:
getTenantIdin interfaceVariableContainer
-
getCurrentFlowElement
Description copied from interface:ReadOnlyDelegateExecutionThe BPMN element where the execution currently is at.- Specified by:
getCurrentFlowElementin interfaceReadOnlyDelegateExecution
-
isActive
public boolean isActive()Description copied from interface:ReadOnlyDelegateExecutionreturns whether this execution is currently active.- Specified by:
isActivein interfaceReadOnlyDelegateExecution
-
isEnded
public boolean isEnded()Description copied from interface:ReadOnlyDelegateExecutionreturns whether this execution has ended or not.- Specified by:
isEndedin interfaceReadOnlyDelegateExecution
-
isConcurrent
public boolean isConcurrent()Description copied from interface:ReadOnlyDelegateExecutionreturns whether this execution is concurrent or not.- Specified by:
isConcurrentin interfaceReadOnlyDelegateExecution
-
isProcessInstanceType
public boolean isProcessInstanceType()Description copied from interface:ReadOnlyDelegateExecutionreturns whether this execution is a process instance or not.- Specified by:
isProcessInstanceTypein interfaceReadOnlyDelegateExecution
-
isScope
public boolean isScope()Description copied from interface:ReadOnlyDelegateExecutionReturns whether this execution is a scope.- Specified by:
isScopein interfaceReadOnlyDelegateExecution
-
isMultiInstanceRoot
public boolean isMultiInstanceRoot()Description copied from interface:ReadOnlyDelegateExecutionReturns whether this execution is the root of a multi instance execution.- Specified by:
isMultiInstanceRootin interfaceReadOnlyDelegateExecution
-
getVariable
- Specified by:
getVariablein interfaceVariableContainer
-
hasVariable
- Specified by:
hasVariablein interfaceVariableContainer
-
toString
-