public class CaseExecutionImpl extends CmmnExecution implements Serializable
Modifier and Type | Field and Description |
---|---|
protected List<CaseExecutionImpl> |
caseExecutions |
protected CaseExecutionImpl |
caseInstance |
protected List<CaseSentryPartImpl> |
caseSentryParts |
protected static CmmnBehaviorLogger |
LOG |
protected CaseExecutionImpl |
parent |
protected CaseExecutionImpl |
subCaseInstance |
protected ExecutionImpl |
subProcessInstance |
protected CaseExecutionImpl |
superCaseExecution |
protected ExecutionImpl |
superExecution |
protected VariableStore<SimpleVariableInstance> |
variableStore |
activity, caseDefinition, currentState, entryCriterionSatisfied, previousState, required, task, variableEventsQueue
businessKey, businessKeyWithoutCascade, eventName, eventSource, id, listenerIndex, skipCustomListeners, skipIoMapping, skipSubprocesses, tenantId
cachedElContext
Constructor and Description |
---|
CaseExecutionImpl() |
addIdIfNotSatisfied, checkAndFireEntryCriteria, checkAndFireExitCriteria, close, collectAffectedSentries, collectAffectedSentriesWithVariableOnParts, collectAllSentries, collectCaseExecutionsInExecutionTree, collectSentryParts, complete, containsIfPartAndExecutionActive, create, create, createChildExecutions, createIfPart, createOnPart, createSentryPart, createSentryParts, createTask, createVariableOnPart, deleteCascade, disable, dispatchEvent, enable, exit, findCaseExecution, fireEntryCriteria, fireExitCriteria, fireIfOnlySentryParts, fireSentries, forceUpdateOnCaseSentryParts, forceUpdateOnSentries, getActivity, getAffectedSentryParts, getBusinessKey, getCaseBusinessKey, getCaseDefinition, getCaseInstanceId, getCurrentState, getParentVariableScope, getPrevious, getPreviousState, getSatisfiedSentries, getSatisfiedSentriesInExecutionTree, getState, getTask, getVariableEventQueue, getVariableScopeKey, handleChildTransition, handleVariableTransition, hasVariableWithSameNameInParent, invokeVariableListeners, isActive, isAvailable, isCaseInstanceExecution, isClosed, isCompleted, isDisabled, isEnabled, isEntryCriterionSatisfied, isFailed, isNew, isNotSatisfiedIfPartOnly, isRequired, isSentryPartsSatisfied, isSentrySatisfied, isSuspended, isSuspending, isTerminated, isTerminating, manualComplete, manualStart, occur, parentComplete, parentResume, parentSuspend, parentTerminate, performExit, performParentSuspension, performParentTerminate, performSuspension, performTerminate, queueVariableEvent, reactivate, reenable, remove, resetSentries, resetSentryParts, resume, setActivity, setCaseDefinition, setCurrentState, setPrevious, setRequired, setState, setTask, start, suspend, terminate, triggerChildExecutionsLifecycle
getBusinessKeyWithoutCascade, getEventName, getEventSource, getListenerIndex, getTenantId, invokeListener, isSkipCustomListeners, isSkipIoMappings, isSkipSubprocesses, performOperation, performOperationSync, setBusinessKey, setEventName, setEventSource, setId, setListenerIndex, setSkipCustomListeners, setSkipIoMappings, setSkipSubprocesseses, setTenantId
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, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariableLocal, setVariables, setVariables, setVariablesLocal, setVariablesLocal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEventName, getTenantId
getVariable, 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, setVariablesLocal
protected static final CmmnBehaviorLogger LOG
protected List<CaseExecutionImpl> caseExecutions
protected List<CaseSentryPartImpl> caseSentryParts
protected CaseExecutionImpl caseInstance
protected CaseExecutionImpl parent
protected ExecutionImpl subProcessInstance
protected ExecutionImpl superExecution
protected CaseExecutionImpl subCaseInstance
protected CaseExecutionImpl superCaseExecution
protected VariableStore<SimpleVariableInstance> variableStore
public String getCaseDefinitionId()
getCaseDefinitionId
in interface DelegateCaseExecution
public CaseExecutionImpl getParent()
CmmnExecution
getParent
in interface CmmnActivityExecution
getParent
in class CmmnExecution
parent
or null.public void setParent(CmmnExecution parent)
setParent
in class CmmnExecution
public String getParentId()
getParentId
in interface DelegateCaseExecution
public String getActivityId()
getActivityId
in interface DelegateCaseExecution
public String getActivityName()
getActivityName
in interface DelegateCaseExecution
public List<CaseExecutionImpl> getCaseExecutions()
CmmnActivityExecution
Returns a List
of child case executions. If this
case
execution has no child case executions an empty List
will be returned.
getCaseExecutions
in interface CmmnActivityExecution
getCaseExecutions
in class CmmnExecution
List
of child case executions.protected List<CaseExecutionImpl> getCaseExecutionsInternal()
getCaseExecutionsInternal
in class CmmnExecution
public CaseExecutionImpl getCaseInstance()
CmmnExecution
getCaseInstance
in class CmmnExecution
public void setCaseInstance(CmmnExecution caseInstance)
setCaseInstance
in class CmmnExecution
public ExecutionImpl getSuperExecution()
getSuperExecution
in class CmmnExecution
public void setSuperExecution(PvmExecutionImpl superExecution)
setSuperExecution
in class CmmnExecution
public ExecutionImpl getSubProcessInstance()
getSubProcessInstance
in class CmmnExecution
public void setSubProcessInstance(PvmExecutionImpl subProcessInstance)
setSubProcessInstance
in class CmmnExecution
public PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition)
CmmnActivityExecution
Creates a new sub process instance.
This
case execution will be the super case execution of the
created sub process instance.
createSubProcessInstance
in interface CmmnActivityExecution
createSubProcessInstance
in class CmmnExecution
processDefinition
- The PvmProcessDefinition
of the subprocess.public PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition, String businessKey)
CmmnActivityExecution
Creates a new sub process instance.
This
case execution will be the super case execution of the
created sub process instance.
createSubProcessInstance
in interface CmmnActivityExecution
createSubProcessInstance
in class CmmnExecution
processDefinition
- The PvmProcessDefinition
of the subprocess.businessKey
- The businessKey to be set on sub process instance.public PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition, String businessKey, String caseInstanceId)
CmmnActivityExecution
Creates a new sub process instance.
This
case execution will be the super case execution of the
created sub process instance.
createSubProcessInstance
in interface CmmnActivityExecution
createSubProcessInstance
in class CmmnExecution
processDefinition
- The PvmProcessDefinition
of the subprocess.businessKey
- The businessKey to be set on sub process instance.caseInstanceId
- The caseInstanceId to be set on sub process instance.public CaseExecutionImpl getSubCaseInstance()
getSubCaseInstance
in class CmmnExecution
public void setSubCaseInstance(CmmnExecution subCaseInstance)
setSubCaseInstance
in class CmmnExecution
public CaseExecutionImpl createSubCaseInstance(CmmnCaseDefinition caseDefinition)
CmmnActivityExecution
Creates a new sub case instance.
This
case execution will be the super case execution of the
created sub case instance.
createSubCaseInstance
in interface CmmnActivityExecution
createSubCaseInstance
in class CmmnExecution
caseDefinition
- The CmmnCaseDefinition
of the sub case instance.public CaseExecutionImpl createSubCaseInstance(CmmnCaseDefinition caseDefinition, String businessKey)
CmmnActivityExecution
Creates a new sub case instance.
This
case execution will be the super case execution of the
created sub case instance.
createSubCaseInstance
in interface CmmnActivityExecution
createSubCaseInstance
in class CmmnExecution
caseDefinition
- The CmmnCaseDefinition
of the sub case instance.businessKey
- The businessKey to be set on sub case instance.public CaseExecutionImpl getSuperCaseExecution()
getSuperCaseExecution
in class CmmnExecution
public void setSuperCaseExecution(CmmnExecution superCaseExecution)
setSuperCaseExecution
in class CmmnExecution
public List<CaseSentryPartImpl> getCaseSentryParts()
getCaseSentryParts
in class CmmnExecution
protected Map<String,List<CmmnSentryPart>> getSentries()
getSentries
in class CmmnExecution
protected List<CaseSentryPartImpl> findSentry(String sentryId)
findSentry
in class CmmnExecution
protected void addSentryPart(CmmnSentryPart sentryPart)
addSentryPart
in class CmmnExecution
protected CmmnSentryPart newSentryPart()
newSentryPart
in class CmmnExecution
protected CaseExecutionImpl createCaseExecution(CmmnActivity activity)
createCaseExecution
in class CmmnExecution
protected CaseExecutionImpl newCaseExecution()
newCaseExecution
in class CmmnExecution
protected VariableStore<CoreVariableInstance> getVariableStore()
getVariableStore
in class AbstractVariableScope
protected VariableInstanceFactory<CoreVariableInstance> getVariableInstanceFactory()
getVariableInstanceFactory
in class AbstractVariableScope
protected List<VariableInstanceLifecycleListener<CoreVariableInstance>> getVariableInstanceLifecycleListeners()
getVariableInstanceLifecycleListeners
in class AbstractVariableScope
public String toString()
toString
in class CmmnExecution
protected String getToStringIdentity()
getToStringIdentity
in class CmmnExecution
public String getId()
BaseDelegateExecution
getId
in interface BaseDelegateExecution
getId
in interface DelegateCaseExecution
getId
in class CoreExecution
public ProcessEngineServices getProcessEngineServices()
ProcessEngineServicesAware
ProcessEngineServices
providing access to the
public API of the process engine.getProcessEngineServices
in interface ProcessEngineServicesAware
ProcessEngineServices
.public ProcessEngine getProcessEngine()
ProcessEngineServicesAware
ProcessEngine
providing access to the
public API of the process engine.getProcessEngine
in interface ProcessEngineServicesAware
ProcessEngine
.public CmmnElement getCmmnModelElementInstance()
CmmnModelExecutionContext
Returns the currently executed Element in the Cmmn Model. This method returns a CmmnElement
which may be casted
to the concrete type of the Cmmn Model Element currently executed.
getCmmnModelElementInstance
in interface CmmnModelExecutionContext
CmmnElement
corresponding to the current Cmmn Model Elementpublic CmmnModelInstance getCmmnModelInstance()
CmmnModelExecutionContext
CmmnModelInstance
for the currently executed Cmmn ModelgetCmmnModelInstance
in interface CmmnModelExecutionContext
CmmnModelInstance
Copyright © 2022. All rights reserved.