Package org.camunda.bpm.engine.impl.pvm
Class ProcessDefinitionBuilder
- java.lang.Object
-
- org.camunda.bpm.engine.impl.pvm.ProcessDefinitionBuilder
-
public class ProcessDefinitionBuilder extends Object
- Author:
- Tom Baeyens
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessDefinitionImpl
processDefinition
protected CoreModelElement
processElement
protected Deque<ScopeImpl>
scopeStack
protected TransitionImpl
transition
protected List<Object[]>
unresolvedTransitions
-
Constructor Summary
Constructors Constructor Description ProcessDefinitionBuilder()
ProcessDefinitionBuilder(String processDefinitionId)
-
Method Summary
-
-
-
Field Detail
-
processDefinition
protected ProcessDefinitionImpl processDefinition
-
processElement
protected CoreModelElement processElement
-
transition
protected TransitionImpl transition
-
-
Constructor Detail
-
ProcessDefinitionBuilder
public ProcessDefinitionBuilder()
-
ProcessDefinitionBuilder
public ProcessDefinitionBuilder(String processDefinitionId)
-
-
Method Detail
-
createActivity
public ProcessDefinitionBuilder createActivity(String id)
-
attachedTo
public ProcessDefinitionBuilder attachedTo(String id, boolean isInterrupting)
-
endActivity
public ProcessDefinitionBuilder endActivity()
-
initial
public ProcessDefinitionBuilder initial()
-
startTransition
public ProcessDefinitionBuilder startTransition(String destinationActivityId)
-
startTransition
public ProcessDefinitionBuilder startTransition(String destinationActivityId, String transitionId)
-
endTransition
public ProcessDefinitionBuilder endTransition()
-
transition
public ProcessDefinitionBuilder transition(String destinationActivityId)
-
transition
public ProcessDefinitionBuilder transition(String destinationActivityId, String transitionId)
-
behavior
public ProcessDefinitionBuilder behavior(ActivityBehavior activityBehaviour)
-
property
public ProcessDefinitionBuilder property(String name, Object value)
-
buildProcessDefinition
public PvmProcessDefinition buildProcessDefinition()
-
getActivity
protected ActivityImpl getActivity()
-
scope
public ProcessDefinitionBuilder scope()
-
executionListener
public ProcessDefinitionBuilder executionListener(ExecutionListener executionListener)
-
executionListener
public ProcessDefinitionBuilder executionListener(String eventName, ExecutionListener executionListener)
-
-