public class CaseDefinitionBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected Deque<CmmnActivity> |
activityStack |
protected CmmnCaseDefinition |
caseDefinition |
protected CmmnActivity |
casePlanModel |
protected CoreModelElement |
processElement |
Constructor and Description |
---|
CaseDefinitionBuilder() |
CaseDefinitionBuilder(String caseDefinitionId) |
Modifier and Type | Method and 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) |
protected CmmnCaseDefinition caseDefinition
protected CmmnActivity casePlanModel
protected Deque<CmmnActivity> activityStack
protected CoreModelElement processElement
public CaseDefinitionBuilder()
public CaseDefinitionBuilder(String caseDefinitionId)
public CaseDefinitionBuilder createActivity(String id)
public CaseDefinitionBuilder endActivity()
public CaseDefinitionBuilder behavior(CmmnActivityBehavior behavior)
public CaseDefinitionBuilder autoComplete(boolean autoComplete)
protected CmmnActivity getActivity()
public CmmnCaseDefinition buildCaseDefinition()
public CaseDefinitionBuilder listener(String eventName, CaseExecutionListener planItemListener)
public CaseDefinitionBuilder property(String name, Object value)
Copyright © 2019. All rights reserved.