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