Class CaseDefinitionBuilder
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmmn.model.CaseDefinitionBuilder
-
public class CaseDefinitionBuilder extends Object
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected Deque<CmmnActivity>
activityStack
protected CmmnCaseDefinition
caseDefinition
protected CmmnActivity
casePlanModel
protected CoreModelElement
processElement
-
Constructor Summary
Constructors Constructor Description CaseDefinitionBuilder()
CaseDefinitionBuilder(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(String id)
CaseDefinitionBuilder
endActivity()
protected CmmnActivity
getActivity()
CaseDefinitionBuilder
listener(String eventName, CaseExecutionListener planItemListener)
CaseDefinitionBuilder
property(String name, Object value)
-
-
-
Field Detail
-
caseDefinition
protected CmmnCaseDefinition caseDefinition
-
casePlanModel
protected CmmnActivity casePlanModel
-
activityStack
protected Deque<CmmnActivity> activityStack
-
processElement
protected CoreModelElement processElement
-
-
Constructor Detail
-
CaseDefinitionBuilder
public CaseDefinitionBuilder()
-
CaseDefinitionBuilder
public CaseDefinitionBuilder(String caseDefinitionId)
-
-
Method Detail
-
createActivity
public CaseDefinitionBuilder createActivity(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(String eventName, CaseExecutionListener planItemListener)
-
property
public CaseDefinitionBuilder property(String name, Object value)
-
-