Package io.zeebe.model.bpmn.builder
Class AbstractFlowNodeBuilder<B extends AbstractFlowNodeBuilder<B,E>,E extends FlowNode>
- java.lang.Object
-
- io.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
-
- io.zeebe.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
-
- io.zeebe.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
-
- io.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
-
- Direct Known Subclasses:
AbstractActivityBuilder
,AbstractEventBuilder
,AbstractGatewayBuilder
public abstract class AbstractFlowNodeBuilder<B extends AbstractFlowNodeBuilder<B,E>,E extends FlowNode> extends AbstractFlowElementBuilder<B,E>
- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected BoundaryEvent
compensateBoundaryEvent
protected boolean
compensationStarted
-
Fields inherited from class io.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
SPACE, ZEEBE_EXPRESSION_FORMAT
-
Fields inherited from class io.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFlowNodeBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
-
Method Summary
-
Methods inherited from class io.zeebe.model.bpmn.builder.AbstractFlowElementBuilder
name
-
Methods inherited from class io.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, addExtensionElement, asZeebeExpression, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessage, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
-
Methods inherited from class io.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
-
-
-
Field Detail
-
compensationStarted
protected boolean compensationStarted
-
compensateBoundaryEvent
protected BoundaryEvent compensateBoundaryEvent
-
-
Constructor Detail
-
AbstractFlowNodeBuilder
protected AbstractFlowNodeBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType)
-
-
Method Detail
-
getCurrentSequenceFlowBuilder
protected SequenceFlowBuilder getCurrentSequenceFlowBuilder()
-
connectTarget
protected void connectTarget(FlowNode target)
-
connectTargetWithSequenceFlow
protected void connectTargetWithSequenceFlow(FlowNode target)
-
connectTargetWithAssociation
protected void connectTargetWithAssociation(FlowNode target)
-
compensationDone
public AbstractFlowNodeBuilder compensationDone()
-
createTargetBuilder
protected <T extends AbstractFlowNodeBuilder,F extends FlowNode> T createTargetBuilder(Class<F> typeClass)
-
createTargetBuilder
protected <T extends AbstractFlowNodeBuilder,F extends FlowNode> T createTargetBuilder(Class<F> typeClass, String id)
-
serviceTask
public ServiceTaskBuilder serviceTask()
-
serviceTask
public ServiceTaskBuilder serviceTask(String id)
-
serviceTask
public ServiceTaskBuilder serviceTask(String id, Consumer<ServiceTaskBuilder> consumer)
-
sendTask
public SendTaskBuilder sendTask()
-
sendTask
public SendTaskBuilder sendTask(String id)
-
userTask
public UserTaskBuilder userTask()
-
userTask
public UserTaskBuilder userTask(String id)
-
businessRuleTask
public BusinessRuleTaskBuilder businessRuleTask()
-
businessRuleTask
public BusinessRuleTaskBuilder businessRuleTask(String id)
-
scriptTask
public ScriptTaskBuilder scriptTask()
-
scriptTask
public ScriptTaskBuilder scriptTask(String id)
-
receiveTask
public ReceiveTaskBuilder receiveTask()
-
receiveTask
public ReceiveTaskBuilder receiveTask(String id)
-
receiveTask
public ReceiveTaskBuilder receiveTask(String id, Consumer<ReceiveTaskBuilder> consumer)
-
manualTask
public ManualTaskBuilder manualTask()
-
manualTask
public ManualTaskBuilder manualTask(String id)
-
endEvent
public EndEventBuilder endEvent()
-
endEvent
public EndEventBuilder endEvent(String id)
-
endEvent
public EndEventBuilder endEvent(String id, Consumer<EndEventBuilder> consumer)
-
parallelGateway
public ParallelGatewayBuilder parallelGateway()
-
parallelGateway
public ParallelGatewayBuilder parallelGateway(String id)
-
exclusiveGateway
public ExclusiveGatewayBuilder exclusiveGateway()
-
inclusiveGateway
public InclusiveGatewayBuilder inclusiveGateway()
-
eventBasedGateway
public EventBasedGatewayBuilder eventBasedGateway()
-
eventBasedGateway
public EventBasedGatewayBuilder eventBasedGateway(String id)
-
exclusiveGateway
public ExclusiveGatewayBuilder exclusiveGateway(String id)
-
inclusiveGateway
public InclusiveGatewayBuilder inclusiveGateway(String id)
-
intermediateCatchEvent
public IntermediateCatchEventBuilder intermediateCatchEvent()
-
intermediateCatchEvent
public IntermediateCatchEventBuilder intermediateCatchEvent(String id)
-
intermediateCatchEvent
public IntermediateCatchEventBuilder intermediateCatchEvent(String id, Consumer<IntermediateCatchEventBuilder> builderConsumer)
-
intermediateThrowEvent
public IntermediateThrowEventBuilder intermediateThrowEvent()
-
intermediateThrowEvent
public IntermediateThrowEventBuilder intermediateThrowEvent(String id)
-
callActivity
public CallActivityBuilder callActivity()
-
callActivity
public CallActivityBuilder callActivity(String id)
-
callActivity
public CallActivityBuilder callActivity(String id, Consumer<CallActivityBuilder> consumer)
-
subProcess
public SubProcessBuilder subProcess()
-
subProcess
public SubProcessBuilder subProcess(String id)
-
subProcess
public SubProcessBuilder subProcess(String id, Consumer<SubProcessBuilder> consumer)
-
transaction
public TransactionBuilder transaction()
-
transaction
public TransactionBuilder transaction(String id)
-
moveToLastGateway
public AbstractGatewayBuilder<?,?> moveToLastGateway()
-
moveToLastExclusiveGateway
public AbstractExclusiveGatewayBuilder<?> moveToLastExclusiveGateway()
-
moveToNode
public AbstractFlowNodeBuilder<?,?> moveToNode(String identifier)
-
moveToActivity
public <T extends AbstractActivityBuilder<?,?>> T moveToActivity(String identifier)
-
connectTo
public AbstractFlowNodeBuilder<?,?> connectTo(String identifier)
-
compensationStart
public B compensationStart()
-
isBoundaryEventWithStartedCompensation
protected boolean isBoundaryEventWithStartedCompensation()
-
isCompensationHandler
protected boolean isCompensationHandler()
-
-