|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope
org.camunda.bpm.engine.impl.core.instance.CoreExecution
org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution
org.camunda.bpm.engine.impl.cmmn.execution.CaseExecutionImpl
public class CaseExecutionImpl
Field Summary | |
---|---|
protected List<CaseExecutionImpl> |
caseExecutions
|
protected CaseExecutionImpl |
caseInstance
|
protected List<CaseSentryPartImpl> |
caseSentryParts
|
protected CaseExecutionImpl |
parent
|
protected CaseExecutionImpl |
subCaseInstance
|
protected ExecutionImpl |
subProcessInstance
|
protected CaseExecutionImpl |
superCaseExecution
|
protected SimpleVariableStore |
variableStore
|
Fields inherited from class org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution |
---|
activity, caseDefinition, currentState, nextActivity, previousState, required, satisfiedSentries, task, variableEventsQueue |
Fields inherited from class org.camunda.bpm.engine.impl.core.instance.CoreExecution |
---|
businessKey, eventName, eventSource, id, listenerIndex, skipCustomListeners |
Fields inherited from class org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope |
---|
cachedElContext |
Constructor Summary | |
---|---|
CaseExecutionImpl()
|
Method Summary | |
---|---|
protected void |
addSentryPart(CmmnSentryPart sentryPart)
|
protected CaseExecutionImpl |
createCaseExecution(CmmnActivity activity)
|
CaseExecutionImpl |
createSubCaseInstance(CmmnCaseDefinition caseDefinition)
Creates a new sub case instance. |
CaseExecutionImpl |
createSubCaseInstance(CmmnCaseDefinition caseDefinition,
String businessKey)
Creates a new sub case instance. |
PvmExecutionImpl |
createSubProcessInstance(PvmProcessDefinition processDefinition)
Creates a new sub process instance. |
PvmExecutionImpl |
createSubProcessInstance(PvmProcessDefinition processDefinition,
String businessKey)
Creates a new sub process instance. |
PvmExecutionImpl |
createSubProcessInstance(PvmProcessDefinition processDefinition,
String businessKey,
String caseInstanceId)
Creates a new sub process instance. |
protected List<CaseSentryPartImpl> |
findSentry(String sentryId)
|
String |
getActivityId()
|
String |
getActivityName()
|
String |
getCaseDefinitionId()
|
List<CaseExecutionImpl> |
getCaseExecutions()
Returns a List of child case executions. |
protected List<CaseExecutionImpl> |
getCaseExecutionsInternal()
|
CaseExecutionImpl |
getCaseInstance()
ensures initialization and returns the process instance. |
List<CaseSentryPartImpl> |
getCaseSentryParts()
|
org.camunda.bpm.model.cmmn.instance.CmmnElement |
getCmmnModelElementInstance()
Returns the currently executed Element in the Cmmn Model. |
org.camunda.bpm.model.cmmn.CmmnModelInstance |
getCmmnModelInstance()
Returns the CmmnModelInstance for the currently executed Cmmn Model |
String |
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. |
CaseExecutionImpl |
getParent()
ensures initialization and returns the parent |
String |
getParentId()
|
ProcessEngineServices |
getProcessEngineServices()
Returns the ProcessEngineServices providing access to the
public API of the process engine. |
protected Map<String,List<CmmnSentryPart>> |
getSentries()
|
CaseExecutionImpl |
getSubCaseInstance()
|
ExecutionImpl |
getSubProcessInstance()
|
CaseExecutionImpl |
getSuperCaseExecution()
|
protected String |
getToStringIdentity()
|
protected CoreVariableStore |
getVariableStore()
|
protected CaseExecutionImpl |
newCaseExecution()
|
protected CmmnSentryPart |
newSentryPart()
|
void |
setCaseInstance(CmmnExecution caseInstance)
|
void |
setParent(CmmnExecution parent)
|
void |
setSubCaseInstance(CmmnExecution subCaseInstance)
|
void |
setSubProcessInstance(PvmExecutionImpl subProcessInstance)
|
void |
setSuperCaseExecution(CmmnExecution superCaseExecution)
|
String |
toString()
|
Methods inherited from class org.camunda.bpm.engine.impl.core.instance.CoreExecution |
---|
getBusinessKey, getEventName, getEventSource, getListenerIndex, invokeListener, isSkipCustomListeners, performOperation, performOperationSync, setBusinessKey, setEventName, setEventSource, setId, setListenerIndex, setSkipCustomListeners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.camunda.bpm.engine.delegate.DelegateCaseExecution |
---|
getEventName |
Methods inherited from interface org.camunda.bpm.engine.delegate.BaseDelegateExecution |
---|
getBusinessKey |
Methods inherited from interface org.camunda.bpm.engine.delegate.VariableScope |
---|
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 |
Field Detail |
---|
protected List<CaseExecutionImpl> caseExecutions
protected List<CaseSentryPartImpl> caseSentryParts
protected CaseExecutionImpl caseInstance
protected CaseExecutionImpl parent
protected ExecutionImpl subProcessInstance
protected CaseExecutionImpl subCaseInstance
protected CaseExecutionImpl superCaseExecution
protected SimpleVariableStore variableStore
Constructor Detail |
---|
public CaseExecutionImpl()
Method Detail |
---|
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 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 subprocess.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 subprocess.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 org.camunda.bpm.model.cmmn.instance.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 org.camunda.bpm.model.cmmn.CmmnModelInstance getCmmnModelInstance()
CmmnModelExecutionContext
CmmnModelInstance
for the currently executed Cmmn Model
getCmmnModelInstance
in interface CmmnModelExecutionContext
CmmnModelInstance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |