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, variableEventsQueue
businessKey, eventName, eventSource, id, listenerIndex, skipCustomListeners, skipIoMapping
cachedElContext
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, triggerChildExecutionsLifecycle
getBusinessKey, getEventName, getEventSource, getListenerIndex, invokeListener, isSkipCustomListeners, isSkipIoMappings, performOperation, performOperationSync, setBusinessKey, setEventName, setEventSource, setId, setListenerIndex, setSkipCustomListeners, setSkipIoMappings
collectVariableNames, 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, setVariablesLocal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEventName
getBusinessKey
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 SimpleVariableStore 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 CoreVariableStore getVariableStore()
getVariableStore
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 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 © 2018. All rights reserved.