Class CmmnHandlerContext
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmmn.handler.CmmnHandlerContext
-
- All Implemented Interfaces:
HandlerContext
public class CmmnHandlerContext extends java.lang.Object implements HandlerContext
This context contains necessary information (like caseDefinition) to be accessed by a
CmmnHandlerContext
.- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected CmmnCaseDefinition
caseDefinition
protected Deployment
deployment
protected ExpressionManager
expressionManager
protected CmmnModelInstance
model
protected CmmnActivity
parent
-
Constructor Summary
Constructors Constructor Description CmmnHandlerContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmmnCaseDefinition
getCaseDefinition()
Deployment
getDeployment()
ExpressionManager
getExpressionManager()
CmmnModelInstance
getModel()
CmmnActivity
getParent()
This method returns anactivity
.void
setCaseDefinition(CmmnCaseDefinition caseDefinition)
void
setDeployment(Deployment deployment)
void
setExpressionManager(ExpressionManager expressionManager)
void
setModel(CmmnModelInstance model)
void
setParent(CmmnActivity parent)
-
-
-
Field Detail
-
expressionManager
protected ExpressionManager expressionManager
-
caseDefinition
protected CmmnCaseDefinition caseDefinition
-
model
protected CmmnModelInstance model
-
parent
protected CmmnActivity parent
-
deployment
protected Deployment deployment
-
-
Method Detail
-
getModel
public CmmnModelInstance getModel()
-
setModel
public void setModel(CmmnModelInstance model)
-
getCaseDefinition
public CmmnCaseDefinition getCaseDefinition()
-
setCaseDefinition
public void setCaseDefinition(CmmnCaseDefinition caseDefinition)
-
getParent
public CmmnActivity getParent()
Description copied from interface:HandlerContext
This method returns an
activity
. The returned activity represents a parent activity, which can containactivities
.The returned activity should be used as a parent activity for a new
activity
.- Specified by:
getParent
in interfaceHandlerContext
- Returns:
- a
CoreActivity
-
setParent
public void setParent(CmmnActivity parent)
-
getDeployment
public Deployment getDeployment()
-
setDeployment
public void setDeployment(Deployment deployment)
-
getExpressionManager
public ExpressionManager getExpressionManager()
-
setExpressionManager
public void setExpressionManager(ExpressionManager expressionManager)
-
-