Package org.camunda.bpm.engine.delegate
Interface CmmnModelExecutionContext
- All Known Subinterfaces:
CmmnActivityExecution,CmmnCaseInstance,DelegateCaseExecution
- All Known Implementing Classes:
CaseExecutionEntity,CaseExecutionImpl,CmmnExecution
public interface CmmnModelExecutionContext
Implemented by classes which provide access to the
CmmnModelInstance
and the currently executed CmmnElement.- Author:
- Roman Smirnov
-
Method Summary
Modifier and TypeMethodDescriptionorg.camunda.bpm.model.cmmn.instance.CmmnElementReturns the currently executed Element in the Cmmn Model.org.camunda.bpm.model.cmmn.CmmnModelInstanceReturns theCmmnModelInstancefor the currently executed Cmmn Model
-
Method Details
-
getCmmnModelInstance
org.camunda.bpm.model.cmmn.CmmnModelInstance getCmmnModelInstance()Returns theCmmnModelInstancefor the currently executed Cmmn Model- Returns:
- the current
CmmnModelInstance
-
getCmmnModelElementInstance
org.camunda.bpm.model.cmmn.instance.CmmnElement getCmmnModelElementInstance()Returns the currently executed Element in the Cmmn Model. This method returns a
CmmnElementwhich may be casted to the concrete type of the Cmmn Model Element currently executed.- Returns:
- the
CmmnElementcorresponding to the current Cmmn Model Element
-