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 SimpleVariableStore |
variableStore |
activity, caseDefinition, currentState, entryCriterionSatisfied, previousState, required, task, variableEventsQueuebusinessKey, eventName, eventSource, id, listenerIndex, skipCustomListeners, skipIoMappingcachedElContext| Constructor and Description |
|---|
CaseExecutionImpl() |
checkAndFireEntryCriteria, checkAndFireExitCriteria, close, collectAffectedSentries, complete, containsIfPart, create, create, createChildExecutions, createIfPart, createOnPart, createSentryPart, createSentryParts, createTask, deleteCascade, disable, dispatchEvent, enable, exit, findCaseExecution, fireEntryCriteria, fireExitCriteria, fireSentries, forceUpdateOnCaseSentryPart, getActivity, getCaseBusinessKey, getCaseDefinition, getCaseInstanceId, getCurrentState, getParentVariableScope, getPrevious, getPreviousState, getSatisfiedSentries, getState, getTask, getVariableEventQueue, getVariableScopeKey, handleChildTransition, invokeVariableListeners, isActive, isAvailable, isCaseInstanceExecution, isClosed, isCompleted, isDisabled, isEnabled, isEntryCriterionSatisfied, isFailed, isNew, isRequired, isSentrySatisfied, isSuspended, isSuspending, isTerminated, isTerminating, manualComplete, manualStart, occur, parentResume, parentSuspend, parentTerminate, performExit, performParentSuspension, performParentTerminate, performSuspension, performTerminate, queueVariableEvent, reactivate, reenable, remove, resetSentries, resume, setActivity, setCaseDefinition, setCurrentState, setPrevious, setRequired, setState, setTask, start, suspend, terminate, triggerChildExecutionsLifecyclegetBusinessKey, getEventName, getEventSource, getListenerIndex, invokeListener, isSkipCustomListeners, isSkipIoMappings, performOperation, performOperationSync, setBusinessKey, setEventName, setEventSource, setId, setListenerIndex, setSkipCustomListeners, setSkipIoMappingscollectVariableNames, collectVariables, getCachedElContext, getSourceActivityVariableScope, getValueFromVariableInstance, getVariable, getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariableLocalTransient, setVariables, setVariablesLocalclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEventNamegetBusinessKeygetVariable, 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, setVariablesLocalprotected 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 SimpleVariableStore variableStore
public String getCaseDefinitionId()
getCaseDefinitionId in interface DelegateCaseExecutionpublic CaseExecutionImpl getParent()
CmmnExecutiongetParent in interface CmmnActivityExecutiongetParent in class CmmnExecutionparent or null.public void setParent(CmmnExecution parent)
setParent in class CmmnExecutionpublic String getParentId()
getParentId in interface DelegateCaseExecutionpublic String getActivityId()
getActivityId in interface DelegateCaseExecutionpublic String getActivityName()
getActivityName in interface DelegateCaseExecutionpublic List<CaseExecutionImpl> getCaseExecutions()
CmmnActivityExecutionReturns a List of child case executions. If this case
execution has no child case executions an empty List will be returned.
getCaseExecutions in interface CmmnActivityExecutiongetCaseExecutions in class CmmnExecutionList of child case executions.protected List<CaseExecutionImpl> getCaseExecutionsInternal()
getCaseExecutionsInternal in class CmmnExecutionpublic CaseExecutionImpl getCaseInstance()
CmmnExecutiongetCaseInstance in class CmmnExecutionpublic void setCaseInstance(CmmnExecution caseInstance)
setCaseInstance in class CmmnExecutionpublic ExecutionImpl getSuperExecution()
getSuperExecution in class CmmnExecutionpublic void setSuperExecution(PvmExecutionImpl superExecution)
setSuperExecution in class CmmnExecutionpublic ExecutionImpl getSubProcessInstance()
getSubProcessInstance in class CmmnExecutionpublic void setSubProcessInstance(PvmExecutionImpl subProcessInstance)
setSubProcessInstance in class CmmnExecutionpublic PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition)
CmmnActivityExecutionCreates a new sub process instance.
This case execution will be the super case execution of the
created sub process instance.
createSubProcessInstance in interface CmmnActivityExecutioncreateSubProcessInstance in class CmmnExecutionprocessDefinition - The PvmProcessDefinition of the subprocess.public PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition, String businessKey)
CmmnActivityExecutionCreates a new sub process instance.
This case execution will be the super case execution of the
created sub process instance.
createSubProcessInstance in interface CmmnActivityExecutioncreateSubProcessInstance in class CmmnExecutionprocessDefinition - The PvmProcessDefinition of the subprocess.businessKey - The businessKey to be set on sub process instance.public PvmExecutionImpl createSubProcessInstance(PvmProcessDefinition processDefinition, String businessKey, String caseInstanceId)
CmmnActivityExecutionCreates a new sub process instance.
This case execution will be the super case execution of the
created sub process instance.
createSubProcessInstance in interface CmmnActivityExecutioncreateSubProcessInstance in class CmmnExecutionprocessDefinition - 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 CmmnExecutionpublic void setSubCaseInstance(CmmnExecution subCaseInstance)
setSubCaseInstance in class CmmnExecutionpublic CaseExecutionImpl createSubCaseInstance(CmmnCaseDefinition caseDefinition)
CmmnActivityExecutionCreates a new sub case instance.
This case execution will be the super case execution of the
created sub case instance.
createSubCaseInstance in interface CmmnActivityExecutioncreateSubCaseInstance in class CmmnExecutioncaseDefinition - The CmmnCaseDefinition of the sub case instance.public CaseExecutionImpl createSubCaseInstance(CmmnCaseDefinition caseDefinition, String businessKey)
CmmnActivityExecutionCreates a new sub case instance.
This case execution will be the super case execution of the
created sub case instance.
createSubCaseInstance in interface CmmnActivityExecutioncreateSubCaseInstance in class CmmnExecutioncaseDefinition - The CmmnCaseDefinition of the sub case instance.businessKey - The businessKey to be set on sub case instance.public CaseExecutionImpl getSuperCaseExecution()
getSuperCaseExecution in class CmmnExecutionpublic void setSuperCaseExecution(CmmnExecution superCaseExecution)
setSuperCaseExecution in class CmmnExecutionpublic List<CaseSentryPartImpl> getCaseSentryParts()
getCaseSentryParts in class CmmnExecutionprotected Map<String,List<CmmnSentryPart>> getSentries()
getSentries in class CmmnExecutionprotected List<CaseSentryPartImpl> findSentry(String sentryId)
findSentry in class CmmnExecutionprotected void addSentryPart(CmmnSentryPart sentryPart)
addSentryPart in class CmmnExecutionprotected CmmnSentryPart newSentryPart()
newSentryPart in class CmmnExecutionprotected CaseExecutionImpl createCaseExecution(CmmnActivity activity)
createCaseExecution in class CmmnExecutionprotected CaseExecutionImpl newCaseExecution()
newCaseExecution in class CmmnExecutionprotected CoreVariableStore getVariableStore()
getVariableStore in class AbstractVariableScopepublic String toString()
toString in class CmmnExecutionprotected String getToStringIdentity()
getToStringIdentity in class CmmnExecutionpublic String getId()
BaseDelegateExecutiongetId in interface BaseDelegateExecutiongetId in interface DelegateCaseExecutiongetId in class CoreExecutionpublic ProcessEngineServices getProcessEngineServices()
ProcessEngineServicesAwareProcessEngineServices providing access to the
public API of the process engine.getProcessEngineServices in interface ProcessEngineServicesAwareProcessEngineServices.public CmmnElement getCmmnModelElementInstance()
CmmnModelExecutionContextReturns 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 CmmnModelExecutionContextCmmnElement corresponding to the current Cmmn Model Elementpublic CmmnModelInstance getCmmnModelInstance()
CmmnModelExecutionContextCmmnModelInstance for the currently executed Cmmn ModelgetCmmnModelInstance in interface CmmnModelExecutionContextCmmnModelInstanceCopyright © 2018. All rights reserved.