public class ExecutionEntity extends PvmExecutionImpl implements Execution, ProcessInstance, DbEntity, HasDbRevision, HasDbReferences, VariableStore.VariablesProvider<VariableInstanceEntity>
| Modifier and Type | Field and Description |
|---|---|
protected String |
activityId
persisted reference to the current position in the diagram within the
PvmExecutionImpl.processDefinition. |
protected String |
activityName
The name of the current activity position
|
protected int |
cachedEntityState |
static int |
EVENT_SUBSCRIPTIONS_STATE_BIT |
protected List<EventSubscriptionEntity> |
eventSubscriptions |
protected List<ExecutionObserver> |
executionObservers
Contains observers which are observe the execution.
|
protected List<ExecutionEntity> |
executions
nested executions representing scopes or concurrent paths
|
static int |
EXTERNAL_TASKS_BIT |
protected List<ExternalTaskEntity> |
externalTasks |
static int |
INCIDENT_STATE_BIT |
protected List<IncidentEntity> |
incidents |
protected List<JobEntity> |
jobs |
static int |
JOBS_STATE_BIT |
protected static EnginePersistenceLogger |
LOG |
protected ExecutionEntity |
parent
the parent execution
|
protected String |
parentId
persisted reference to the parent of this execution.
|
protected String |
processDefinitionId
persisted reference to the processDefinition.
|
protected ExecutionEntity |
processInstance
the process instance.
|
protected String |
processInstanceId
persisted reference to the process instance.
|
protected List<VariableInstanceLifecycleListener<VariableInstanceEntity>> |
registeredVariableListeners |
protected int |
revision |
protected String |
rootProcessInstanceId
persisted reference to the root process instance.
|
protected boolean |
shouldQueryForSubCaseInstance |
protected boolean |
shouldQueryForSubprocessInstance |
static int |
SUB_CASE_INSTANCE_STATE_BIT |
static int |
SUB_PROCESS_INSTANCE_STATE_BIT |
protected CaseExecutionEntity |
subCaseInstance
reference to a subcaseinstance, not-null if currently subcase is started
from this execution
|
protected ExecutionEntity |
subProcessInstance
reference to a subprocessinstance, not-null if currently subprocess is
started from this execution
|
protected CaseExecutionEntity |
superCaseExecution
super case execution, not-null if this execution is part of a case
execution
|
protected String |
superCaseExecutionId
persisted reference to the super case execution of this execution
|
protected ExecutionEntity |
superExecution
super execution, not-null if this execution is part of a subprocess
|
protected String |
superExecutionId
persisted reference to the super execution of this execution
|
protected int |
suspensionState |
protected List<TaskEntity> |
tasks |
static int |
TASKS_STATE_BIT |
static int |
VARIABLES_STATE_BIT |
protected VariableStore<VariableInstanceEntity> |
variableStore |
activity, activityInstanceEndListenersFailed, activityInstanceId, activityInstanceState, caseInstanceId, delayedEvents, deleteReason, deleteRoot, externallyTerminated, isActive, isConcurrent, isEnded, isEventScope, isRemoved, isScope, nextActivity, preserveScope, processDefinition, replacedBy, sequenceCounter, startContext, transition, transitionsToTakebusinessKey, businessKeyWithoutCascade, eventName, eventSource, id, listenerIndex, skipCustomListeners, skipIoMapping, skipSubprocesses, tenantIdcachedElContext| Constructor and Description |
|---|
ExecutionEntity() |
activityInstanceDone, activityInstanceEndListenerFailure, activityInstanceStarted, activityInstanceStarting, clearDelayedEvents, clearScope, collectActiveActivityIds, collectExecutions, continueExecutionIfNotCanceled, continueIfExecutionDoesNotAffectNextOperation, createActivityExecutionMapping, createActivityExecutionMapping, createActivityExecutionMapping, createConcurrentExecution, createIncident, createIncident, createIncidentContext, createSubProcessInstance, createSubProcessInstance, delayEvent, delayEvent, deleteCascade, deleteCascade, deleteCascade, dispatchDelayedEventsAndPerformOperation, dispatchDelayedEventsAndPerformOperation, dispatchScopeEvents, disposeExecutionStartContext, disposeProcessInstanceStartContext, end, endCompensation, enterActivityInstance, executeActivities, executeActivitiesConcurrent, executeActivity, executeEventHandlerActivity, executeIoMapping, findActiveActivityIds, findExecution, findExecutionForFlowScope, findExecutionForFlowScope, findExecutionForScope, findExecutions, findInactiveChildExecutions, findInactiveConcurrentExecutions, findIncidentHandler, getActivityInstanceId, getActivityInstanceState, getAllChildExecutions, getBusinessKey, getCaseInstanceId, getCurrentTransitionId, getDelayedEvents, getDeleteReason, getEventScopeExecutions, getExecutionStartContext, getFlowScope, getFlowScopeExecution, getNextActivity, getNonEventScopeExecutions, getParentActivityInstanceId, getParentScopeExecution, getParentVariableScope, getScopeActivity, getSequenceCounter, getTransition, getTransitionsToTake, getVariableScopeKey, hasChildren, hasFailedOnEndListeners, hasProcessInstanceStartContext, hasReplacedParent, incrementSequenceCounter, initActivityIds, instantiateScopes, interrupt, isActive, isCanceled, isCompleteScope, isConcurrent, isDeleteRoot, isEnded, isEventScope, isExternallyTerminated, isInState, isPreserveScope, isRemoved, isReplacedByParent, isScope, leaveActivityInstance, leaveActivityViaTransition, leaveActivityViaTransitions, propagateEnd, removeEventScopes, resolveIncident, setActive, setActivityInstanceId, setCanceled, setCaseInstanceId, setCompleteScope, setConcurrent, setDeleteReason, setDeleteRoot, setEnded, setEventScope, setExternallyTerminated, setNextActivity, setParent, setPreserveScope, setProcessBusinessKey, setScope, setSequenceCounter, setStartContext, setTransition, setTransitionsToTake, setVariable, signal, start, start, startWithFormProperties, take, tryPruneLastConcurrentChildgetBusinessKeyWithoutCascade, getEventName, getEventSource, getId, getListenerIndex, getTenantId, invokeListener, isSkipCustomListeners, isSkipIoMappings, isSkipSubprocesses, setBusinessKey, setEventName, setEventSource, setId, setListenerIndex, setSkipCustomListeners, setSkipIoMappings, setSkipSubprocesseses, setTenantIdcheckJavaSerialization, collectVariableNames, collectVariables, getCachedElContext, getSourceActivityVariableScope, getValueFromVariableInstance, getVariable, getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, initializeVariableStore, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersUpdate, invokeVariableLifecycleListenersUpdate, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocalclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBusinessKey, getCaseInstanceIdgetId, getTenantId, isEndedgetDependentEntitiesgetTenantIdgetEventName, getIdgetVariable, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocalgetVariable, getVariables, hasVariable, setVariableprotected static final EnginePersistenceLogger LOG
public static final int EVENT_SUBSCRIPTIONS_STATE_BIT
public static final int TASKS_STATE_BIT
public static final int JOBS_STATE_BIT
public static final int INCIDENT_STATE_BIT
public static final int VARIABLES_STATE_BIT
public static final int SUB_PROCESS_INSTANCE_STATE_BIT
public static final int SUB_CASE_INSTANCE_STATE_BIT
public static final int EXTERNAL_TASKS_BIT
protected transient ExecutionEntity processInstance
protected transient ExecutionEntity parent
protected transient List<ExecutionEntity> executions
protected transient ExecutionEntity superExecution
protected transient CaseExecutionEntity superCaseExecution
protected transient ExecutionEntity subProcessInstance
protected transient CaseExecutionEntity subCaseInstance
protected boolean shouldQueryForSubprocessInstance
protected boolean shouldQueryForSubCaseInstance
protected transient List<EventSubscriptionEntity> eventSubscriptions
protected transient List<TaskEntity> tasks
protected transient List<ExternalTaskEntity> externalTasks
protected transient List<IncidentEntity> incidents
protected int cachedEntityState
protected transient VariableStore<VariableInstanceEntity> variableStore
protected int suspensionState
protected int revision
protected String processDefinitionId
protected String activityId
PvmExecutionImpl.processDefinition.PvmExecutionImpl.activity,
getActivity()protected String activityName
protected String processInstanceId
getProcessInstance()protected String parentId
getParent()protected String superExecutionId
setSuperExecution(ExecutionEntity)protected String rootProcessInstanceId
getRootProcessInstanceId()protected String superCaseExecutionId
setSuperCaseExecution(ExecutionEntity)protected transient List<ExecutionObserver> executionObservers
protected transient List<VariableInstanceLifecycleListener<VariableInstanceEntity>> registeredVariableListeners
public ExecutionEntity createExecution()
PvmExecutionImplcreateExecution in interface ActivityExecutioncreateExecution in class PvmExecutionImplpublic ExecutionEntity createExecution(boolean initializeExecutionStartContext)
createExecution in interface ActivityExecutioncreateExecution in class PvmExecutionImplpublic ExecutionEntity createSubProcessInstance(PvmProcessDefinition processDefinition, String businessKey, String caseInstanceId)
createSubProcessInstance in interface ActivityExecutioncreateSubProcessInstance in class PvmExecutionImplprocessDefinition - The PvmProcessDefinition of the subprocess.businessKey - the business key of the process instancecaseInstanceId - the case instance id of the process instanceActivityExecution.createSubProcessInstance(PvmProcessDefinition)protected static ExecutionEntity createNewExecution()
protected PvmExecutionImpl newExecution()
newExecution in class PvmExecutionImplpublic CaseExecutionEntity createSubCaseInstance(CmmnCaseDefinition caseDefinition)
ActivityExecutionCreates a new sub case instance.
This execution will be the super execution of the
created sub case instance.
createSubCaseInstance in interface ActivityExecutioncreateSubCaseInstance in class PvmExecutionImplcaseDefinition - The CmmnCaseDefinition of the sub case instance.public CaseExecutionEntity createSubCaseInstance(CmmnCaseDefinition caseDefinition, String businessKey)
ActivityExecutionCreates a new sub case instance.
This execution will be the super execution of the
created sub case instance.
createSubCaseInstance in interface ActivityExecutioncreateSubCaseInstance in class PvmExecutionImplcaseDefinition - The CmmnCaseDefinition of the sub case instance.businessKey - The businessKey to be set on sub case instance.public void fireHistoricActivityInstanceUpdate()
public void initialize()
initialize in class PvmExecutionImplpublic void initializeTimerDeclarations()
initializeTimerDeclarations in class PvmExecutionImplprotected void createTimerInstances(Collection<TimerDeclarationImpl> timerDeclarations)
protected static void initializeAssociations(ExecutionEntity execution)
public void start(Map<String,Object> variables, VariableMap formProperties)
start in class PvmExecutionImplpublic void startWithoutExecuting(Map<String,Object> variables)
PvmExecutionImplstartWithoutExecuting in class PvmExecutionImplvariables - the variables which are used for the startprotected void provideTenantId(Map<String,Object> variables, VariableMap properties)
public void fireHistoricProcessStartEvent()
fireHistoricProcessStartEvent in class PvmExecutionImplpublic void destroy()
destroy in interface ActivityExecutiondestroy in class PvmExecutionImplpublic void removeAllTasks()
removeAllTasks in class PvmExecutionImplprotected void clearExecution()
public void removeVariablesLocalInternal()
removeVariablesLocalInternal in class PvmExecutionImplpublic void interrupt(String reason, boolean skipCustomListeners, boolean skipIoMappings, boolean externallyTerminated)
interrupt in class PvmExecutionImplprotected void removeActivityJobs(String reason)
public <T extends CoreExecution> void performOperation(CoreAtomicOperation<T> operation)
performOperation in class CoreExecutionpublic <T extends CoreExecution> void performOperationSync(CoreAtomicOperation<T> operation)
performOperationSync in class CoreExecutionpublic void performOperation(AtomicOperation executionOperation)
public void performOperationSync(AtomicOperation executionOperation)
protected void ensureNotSuspended()
protected boolean requiresUnsuspendedExecution(AtomicOperation executionOperation)
public void scheduleAtomicOperationAsync(AtomicOperationInvocation executionOperationInvocation)
public boolean isActive(String activityId)
isActive in class PvmExecutionImplpublic void inactivate()
ActivityExecutioninactivate in interface ActivityExecutioninactivate in class PvmExecutionImplpublic void addExecutionObserver(ExecutionObserver observer)
public void removeExecutionObserver(ExecutionObserver observer)
public List<ExecutionEntity> getExecutions()
ActivityExecutiongetExecutions in interface ActivityExecutiongetExecutions in class PvmExecutionImplpublic List<ExecutionEntity> getExecutionsAsCopy()
getExecutionsAsCopy in class PvmExecutionImplprotected void ensureExecutionsInitialized()
protected boolean isExecutionTreePrefetchEnabled()
public void setExecutions(List<ExecutionEntity> executions)
public String getProcessBusinessKey()
DelegateExecutiongetProcessBusinessKey in interface DelegateExecutiongetProcessBusinessKey in class PvmExecutionImplpublic ProcessDefinitionEntity getProcessDefinition()
getProcessDefinition in class PvmExecutionImplpublic void setProcessDefinitionId(String processDefinitionId)
public String getProcessDefinitionId()
ProcessInstancegetProcessDefinitionId in interface DelegateExecutiongetProcessDefinitionId in interface ProcessInstanceprotected void ensureProcessDefinitionInitialized()
public void setProcessDefinition(ProcessDefinitionImpl processDefinition)
setProcessDefinition in class PvmExecutionImplpublic ExecutionEntity getProcessInstance()
getProcessInstance in interface DelegateExecutiongetProcessInstance in class PvmExecutionImplprotected void ensureProcessInstanceInitialized()
public boolean isProcessInstanceStarting()
HistoricVariableUpdateEventEntity.isInitial).public void setProcessInstance(PvmExecutionImpl processInstance)
setProcessInstance in class PvmExecutionImplpublic boolean isProcessInstanceExecution()
ActivityExecutionisProcessInstanceExecution in interface ActivityExecutionisProcessInstanceExecution in class PvmExecutionImplpublic ActivityImpl getActivity()
getActivity in interface ActivityExecutiongetActivity in interface PvmExecutiongetActivity in class PvmExecutionImplpublic String getActivityId()
getActivityId in class PvmExecutionImplprotected void ensureActivityInitialized()
public void setActivity(PvmActivity activity)
setActivity in interface ActivityExecutionsetActivity in class PvmExecutionImplprotected String generateActivityInstanceId(String activityId)
generateActivityInstanceId in class PvmExecutionImplpublic ExecutionEntity getParent()
getParent in interface ActivityExecutiongetParent in class PvmExecutionImplprotected void ensureParentInitialized()
public void setParentExecution(PvmExecutionImpl parent)
PvmExecutionImplsetParentExecution in class PvmExecutionImplpublic String getSuperExecutionId()
public ExecutionEntity getSuperExecution()
DelegateExecutiongetSuperExecution in interface DelegateExecutiongetSuperExecution in class PvmExecutionImplpublic void setSuperExecution(PvmExecutionImpl superExecution)
setSuperExecution in class PvmExecutionImplprotected void ensureSuperExecutionInitialized()
public ExecutionEntity getSubProcessInstance()
getSubProcessInstance in class PvmExecutionImplpublic void setSubProcessInstance(PvmExecutionImpl subProcessInstance)
setSubProcessInstance in class PvmExecutionImplprotected void ensureSubProcessInstanceInitialized()
public String getSuperCaseExecutionId()
public void setSuperCaseExecutionId(String superCaseExecutionId)
public CaseExecutionEntity getSuperCaseExecution()
getSuperCaseExecution in class PvmExecutionImplpublic void setSuperCaseExecution(CmmnExecution superCaseExecution)
setSuperCaseExecution in class PvmExecutionImplprotected void ensureSuperCaseExecutionInitialized()
public CaseExecutionEntity getSubCaseInstance()
getSubCaseInstance in class PvmExecutionImplpublic void setSubCaseInstance(CmmnExecution subCaseInstance)
setSubCaseInstance in class PvmExecutionImplprotected void ensureSubCaseInstanceInitialized()
public void remove()
remove in interface ActivityExecutionremove in class PvmExecutionImplprotected void removeEventSubscriptionsExceptCompensation()
public void removeEventSubscriptions()
protected void removeTasks(String reason)
protected void removeExternalTasks()
public ExecutionEntity getReplacedBy()
PvmExecutionImplReturns an execution that has replaced this execution for executing activities in their shared scope.
Invariant: this execution and getReplacedBy() execute in the same scope.
getReplacedBy in class PvmExecutionImplpublic ExecutionEntity resolveReplacedBy()
PvmExecutionImplPvmExecutionImpl.getReplacedBy(), which returns the execution that this execution was directly replaced with,
this resolves the chain of replacements (i.e. in the case the replacedBy execution itself was replaced again)resolveReplacedBy in class PvmExecutionImplpublic void replace(PvmExecutionImpl execution)
PvmExecutionImplReplace an execution by this execution. The replaced execution has a pointer (PvmExecutionImpl.getReplacedBy()) to this execution.
This pointer is maintained until the replaced execution is removed or this execution is removed/ended.
This is used for two cases: Execution tree expansion and execution tree compaction
-------
| e1 | scope
-------
After:
-------
| e1 | scope
-------
|
-------
| e2 | cc (no scope)
-------
e2 replaces e1: it should receive all entities associated with the activity currently executed
by e1; these are tasks, (local) variables, jobs (specific for the activity, not the scope)
-------
| e1 | scope
-------
|
-------
| e2 | cc (no scope)
-------
After:
-------
| e1 | scope
-------
e1 replaces e2: it should receive all entities associated with the activity currently executed
by e2; these are tasks, (all) variables, all jobs
replace in class PvmExecutionImplPvmExecutionImpl.createConcurrentExecution(),
PvmExecutionImpl.tryPruneLastConcurrentChild()public void onConcurrentExpand(PvmExecutionImpl scopeExecution)
PvmExecutionImplonConcurrentExpand in class PvmExecutionImplprotected void moveTasksTo(ExecutionEntity other)
protected void moveExternalTasksTo(ExecutionEntity other)
protected void moveActivityLocalJobsTo(ExecutionEntity other)
protected void moveVariablesTo(ExecutionEntity other)
protected void moveVariableTo(VariableInstanceEntity variable, ExecutionEntity other)
protected void moveConcurrentLocalVariablesTo(ExecutionEntity other)
public void addVariableListener(VariableInstanceLifecycleListener<VariableInstanceEntity> listener)
public void removeVariableListener(VariableInstanceLifecycleListener<VariableInstanceEntity> listener)
public boolean isExecutingScopeLeafActivity()
public Collection<VariableInstanceEntity> provideVariables()
provideVariables in interface VariableStore.VariablesProvider<VariableInstanceEntity>public Collection<VariableInstanceEntity> provideVariables(Collection<String> variableNames)
provideVariables in interface VariableStore.VariablesProvider<VariableInstanceEntity>protected void ensureExecutionTreeInitialized()
public void restoreProcessInstance(Collection<ExecutionEntity> executions, Collection<EventSubscriptionEntity> eventSubscriptions, Collection<VariableInstanceEntity> variables, Collection<TaskEntity> tasks, Collection<JobEntity> jobs, Collection<IncidentEntity> incidents, Collection<ExternalTaskEntity> externalTasks)
executions - the list of all executions that are part of this process instance.
Cannot be null, must include the process instance execution itself.eventSubscriptions - the list of all event subscriptions that are linked to executions which is part of this process instance
If null, event subscriptions are not initialized and lazy loaded on demandvariables - the list of all variables that are linked to executions which are part of this process instance
If null, variables are not initialized and are lazy loaded on demandjobs - tasks - incidents - public Object getPersistentState()
DbEntitygetPersistentState in interface DbEntitypublic void insert()
public int getRevisionNext()
getRevisionNext in interface HasDbRevisionpublic void forceUpdate()
forceUpdate in interface ActivityExecutionpublic String toString()
toString in class PvmExecutionImplprotected String getToStringIdentity()
getToStringIdentity in class PvmExecutionImplpublic List<EventSubscriptionEntity> getEventSubscriptionsInternal()
public List<EventSubscriptionEntity> getEventSubscriptions()
public List<EventSubscriptionEntity> getCompensateEventSubscriptions()
public List<EventSubscriptionEntity> getCompensateEventSubscriptions(String activityId)
protected void ensureEventSubscriptionsInitialized()
public void addEventSubscription(EventSubscriptionEntity eventSubscriptionEntity)
public void removeEventSubscription(EventSubscriptionEntity eventSubscriptionEntity)
protected void ensureJobsInitialized()
public void addJob(JobEntity jobEntity)
public void removeJob(JobEntity job)
protected void ensureIncidentsInitialized()
protected List<IncidentEntity> getIncidentsInternal()
public List<IncidentEntity> getIncidents()
public void addIncident(IncidentEntity incident)
public void removeIncident(IncidentEntity incident)
public IncidentEntity getIncidentByCauseIncidentId(String causeIncidentId)
protected void ensureTasksInitialized()
protected List<TaskEntity> getTasksInternal()
public List<TaskEntity> getTasks()
public void addTask(TaskEntity taskEntity)
public void removeTask(TaskEntity task)
protected void ensureExternalTasksInitialized()
protected List<ExternalTaskEntity> getExternalTasksInternal()
public void addExternalTask(ExternalTaskEntity externalTask)
public void removeExternalTask(ExternalTaskEntity externalTask)
public List<ExternalTaskEntity> getExternalTasks()
protected VariableStore<CoreVariableInstance> getVariableStore()
getVariableStore in class AbstractVariableScopeprotected VariableInstanceFactory<CoreVariableInstance> getVariableInstanceFactory()
getVariableInstanceFactory in class AbstractVariableScopeprotected List<VariableInstanceLifecycleListener<CoreVariableInstance>> getVariableInstanceLifecycleListeners()
getVariableInstanceLifecycleListeners in class AbstractVariableScopepublic VariableInstanceLifecycleListener<CoreVariableInstance> getVariablePersistenceListener()
public Collection<VariableInstanceEntity> getVariablesInternal()
public void removeVariableInternal(VariableInstanceEntity variable)
public void addVariableInternal(VariableInstanceEntity variable)
public void handleConditionalEventOnVariableChange(VariableEvent variableEvent)
public void dispatchEvent(VariableEvent variableEvent)
dispatchEvent in interface VariableEventDispatcherdispatchEvent in class AbstractVariableScopepublic void setCachedEntityState(int cachedEntityState)
public int getCachedEntityState()
public int getCachedEntityStateRaw()
public String getRootProcessInstanceId()
ProcessInstancegetRootProcessInstanceId in interface ProcessInstancepublic String getRootProcessInstanceIdRaw()
public void setRootProcessInstanceId(String rootProcessInstanceId)
public String getProcessInstanceId()
ExecutionExecution.getId() if this execution is the process instance.getProcessInstanceId in interface DelegateExecutiongetProcessInstanceId in interface Executionpublic void setProcessInstanceId(String processInstanceId)
public String getParentId()
DelegateExecutiongetParentId in interface DelegateExecutiongetParentId in class PvmExecutionImplpublic void setParentId(String parentId)
public int getRevision()
getRevision in interface HasDbRevisionpublic void setRevision(int revision)
setRevision in interface HasDbRevisionpublic void setActivityId(String activityId)
public void setSuperExecutionId(String superExecutionId)
public Set<String> getReferencedEntityIds()
HasDbReferencesScope: IN-MEMORY references
getReferencedEntityIds in interface HasDbReferencespublic Map<String,Class> getReferencedEntitiesIdAndClass()
HasDbReferencesScope: IN-MEMORY references
getReferencedEntitiesIdAndClass in interface HasDbReferencespublic int getSuspensionState()
public void setSuspensionState(int suspensionState)
public boolean isSuspended()
ExecutionisSuspended in interface ExecutionisSuspended in interface ProcessInstancepublic ProcessInstanceStartContext getProcessInstanceStartContext()
getProcessInstanceStartContext in class PvmExecutionImplpublic String getCurrentActivityId()
DelegateExecutiongetCurrentActivityId in interface DelegateExecutiongetCurrentActivityId in class PvmExecutionImplpublic String getCurrentActivityName()
DelegateExecutiongetCurrentActivityName in interface DelegateExecutiongetCurrentActivityName in class PvmExecutionImplpublic FlowElement getBpmnModelElementInstance()
BpmnModelExecutionContextReturns the currently executed Element in the BPMN Model. This method returns a FlowElement which may be casted
to the concrete type of the Bpmn Model Element currently executed.
If called from a Service ExecutionListener, the method will return the corresponding FlowNode
for ExecutionListener.EVENTNAME_START and ExecutionListener.EVENTNAME_END and the corresponding
SequenceFlow for ExecutionListener.EVENTNAME_TAKE.
getBpmnModelElementInstance in interface BpmnModelExecutionContextFlowElement corresponding to the current Bpmn Model Elementpublic BpmnModelInstance getBpmnModelInstance()
BpmnModelExecutionContextBpmnModelInstance for the currently executed Bpmn ModelgetBpmnModelInstance in interface BpmnModelExecutionContextBpmnModelInstancepublic ProcessEngineServices getProcessEngineServices()
ProcessEngineServicesAwareProcessEngineServices providing access to the
public API of the process engine.getProcessEngineServices in interface ProcessEngineServicesAwareProcessEngineServices.public ProcessEngine getProcessEngine()
ProcessEngineServicesAwareProcessEngine providing access to the
public API of the process engine.getProcessEngine in interface ProcessEngineServicesAwareProcessEngine.Copyright © 2021. All rights reserved.