Class AbstractSequenceFlowBuilder<B extends AbstractSequenceFlowBuilder<B>>
- java.lang.Object
-
- org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,SequenceFlow>
-
- 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
Constructors Modifier Constructor Description protected
AbstractSequenceFlowBuilder(BpmnModelInstance modelInstance, SequenceFlow element, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createTimeCycle, createTimeDate, createTimeDuration, documentation, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, 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, throwEventDefinitionDone, transactionDone
-
-
-
-
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
-
-