Class CaseDefinitionBuilder
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmmn.model.CaseDefinitionBuilder
-
public class CaseDefinitionBuilder extends java.lang.Object
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Deque<CmmnActivity>
activityStack
protected CmmnCaseDefinition
caseDefinition
protected CmmnActivity
casePlanModel
protected CoreModelElement
processElement
-
Constructor Summary
Constructors Constructor Description CaseDefinitionBuilder()
CaseDefinitionBuilder(java.lang.String caseDefinitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseDefinitionBuilder
autoComplete(boolean autoComplete)
CaseDefinitionBuilder
behavior(CmmnActivityBehavior behavior)
CmmnCaseDefinition
buildCaseDefinition()
CaseDefinitionBuilder
createActivity(java.lang.String id)
CaseDefinitionBuilder
endActivity()
protected CmmnActivity
getActivity()
CaseDefinitionBuilder
listener(java.lang.String eventName, CaseExecutionListener planItemListener)
CaseDefinitionBuilder
property(java.lang.String name, java.lang.Object value)
-
-
-
Field Detail
-
caseDefinition
protected CmmnCaseDefinition caseDefinition
-
casePlanModel
protected CmmnActivity casePlanModel
-
activityStack
protected java.util.Deque<CmmnActivity> activityStack
-
processElement
protected CoreModelElement processElement
-
-
Method Detail
-
createActivity
public CaseDefinitionBuilder createActivity(java.lang.String id)
-
endActivity
public CaseDefinitionBuilder endActivity()
-
behavior
public CaseDefinitionBuilder behavior(CmmnActivityBehavior behavior)
-
autoComplete
public CaseDefinitionBuilder autoComplete(boolean autoComplete)
-
getActivity
protected CmmnActivity getActivity()
-
buildCaseDefinition
public CmmnCaseDefinition buildCaseDefinition()
-
listener
public CaseDefinitionBuilder listener(java.lang.String eventName, CaseExecutionListener planItemListener)
-
property
public CaseDefinitionBuilder property(java.lang.String name, java.lang.Object value)
-
-