Package org.cibseven.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.cibseven.bpm.model.cmmn.instance.CmmnElementReturns the currently executed Element in the Cmmn Model.org.cibseven.bpm.model.cmmn.CmmnModelInstanceReturns theCmmnModelInstancefor the currently executed Cmmn Model
-
Method Details
-
getCmmnModelInstance
org.cibseven.bpm.model.cmmn.CmmnModelInstance getCmmnModelInstance()Returns theCmmnModelInstancefor the currently executed Cmmn Model- Returns:
- the current
CmmnModelInstance
-
getCmmnModelElementInstance
org.cibseven.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
-