public class ProcessDefinitionBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected ProcessDefinitionImpl |
processDefinition |
protected CoreModelElement |
processElement |
protected Stack<ScopeImpl> |
scopeStack |
protected TransitionImpl |
transition |
protected List<Object[]> |
unresolvedTransitions |
Constructor and Description |
---|
ProcessDefinitionBuilder() |
ProcessDefinitionBuilder(String processDefinitionId) |
protected ProcessDefinitionImpl processDefinition
protected CoreModelElement processElement
protected TransitionImpl transition
public ProcessDefinitionBuilder()
public ProcessDefinitionBuilder(String processDefinitionId)
public ProcessDefinitionBuilder createActivity(String id)
public ProcessDefinitionBuilder attachedTo(String id, boolean isInterrupting)
public ProcessDefinitionBuilder endActivity()
public ProcessDefinitionBuilder initial()
public ProcessDefinitionBuilder startTransition(String destinationActivityId)
public ProcessDefinitionBuilder startTransition(String destinationActivityId, String transitionId)
public ProcessDefinitionBuilder endTransition()
public ProcessDefinitionBuilder transition(String destinationActivityId)
public ProcessDefinitionBuilder transition(String destinationActivityId, String transitionId)
public ProcessDefinitionBuilder behavior(ActivityBehavior activityBehaviour)
public ProcessDefinitionBuilder property(String name, Object value)
public PvmProcessDefinition buildProcessDefinition()
protected ActivityImpl getActivity()
public ProcessDefinitionBuilder scope()
public ProcessDefinitionBuilder executionListener(ExecutionListener executionListener)
public ProcessDefinitionBuilder executionListener(String eventName, ExecutionListener executionListener)
Copyright © 2017. All rights reserved.