org.camunda.bpm.model.bpmn.builder
Class AbstractSequenceFlowBuilder<B extends AbstractSequenceFlowBuilder<B>>

java.lang.Object
  extended by org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
      extended by org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
          extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,SequenceFlow>
              extended by org.camunda.bpm.model.bpmn.builder.AbstractSequenceFlowBuilder<B>
Direct Known Subclasses:
SequenceFlowBuilder

public abstract class AbstractSequenceFlowBuilder<B extends AbstractSequenceFlowBuilder<B>>
extends AbstractFlowElementBuilder<B,SequenceFlow>

Author:
Sebastian Menski

Field Summary
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACE
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
 
Constructor Summary
protected AbstractSequenceFlowBuilder(BpmnModelInstance modelInstance, SequenceFlow element, Class<?> selfType)
           
 
Method Summary
 B condition(ConditionExpression conditionExpression)
          Sets the condition for this sequence flow.
 B from(FlowNode source)
          Sets the source flow node of this sequence flow.
 B to(FlowNode target)
          Sets the target flow node of this sequence flow.
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder
name
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, transactionDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSequenceFlowBuilder

protected AbstractSequenceFlowBuilder(BpmnModelInstance modelInstance,
                                      SequenceFlow element,
                                      Class<?> selfType)
Method Detail

from

public B from(FlowNode source)
Sets the source flow node of this sequence flow.

Parameters:
source - the source of this sequence flow
Returns:
the builder object

to

public B to(FlowNode target)
Sets the target flow node of this sequence flow.

Parameters:
target - the target of this sequence flow
Returns:
the builder object

condition

public B condition(ConditionExpression conditionExpression)
Sets the condition for this sequence flow.

Parameters:
conditionExpression - the condition expression for this sequence flow
Returns:
the builder object


Copyright © 2017 camunda services GmbH. All rights reserved.