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 TypeMethodDescriptionReturns the currently executed Element in the Cmmn Model.Returns theCmmnModelInstance
for the currently executed Cmmn Model
-
Method Details
-
getCmmnModelInstance
CmmnModelInstance getCmmnModelInstance()Returns theCmmnModelInstance
for the currently executed Cmmn Model- Returns:
- the current
CmmnModelInstance
-
getCmmnModelElementInstance
CmmnElement getCmmnModelElementInstance()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.- Returns:
- the
CmmnElement
corresponding to the current Cmmn Model Element
-