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 theCmmnModelInstancefor the currently executed Cmmn Model
-
Method Details
-
getCmmnModelInstance
CmmnModelInstance getCmmnModelInstance()Returns theCmmnModelInstancefor 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
CmmnElementwhich may be casted to the concrete type of the Cmmn Model Element currently executed.- Returns:
- the
CmmnElementcorresponding to the current Cmmn Model Element
-