Class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>>
java.lang.Object
io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractEventBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractCatchEventBuilder<B,StartEvent>
io.camunda.zeebe.model.bpmn.builder.AbstractStartEventBuilder<B>
- All Implemented Interfaces:
ZeebeVariablesMappingBuilder<B>
- Direct Known Subclasses:
StartEventBuilder
public abstract class AbstractStartEventBuilder<B extends AbstractStartEventBuilder<B>>
extends AbstractCatchEventBuilder<B,StartEvent>
- Author:
- Sebastian Menski
-
Field Summary
Fields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStartedFields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
SPACE, ZEEBE_EXPRESSION_FORMATFields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractStartEventBuilder(BpmnModelInstance modelInstance, StartEvent element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionSets a catch compensation definition.error()Sets a catch all error definition.Sets an error definition for the given error code.Creates an error event definition and returns a builder for the error event definition.Creates an error event definition with an unique id and returns a builder for the error event definition.Sets a catch all escalation definition.escalation(String escalationCode) Sets an escalation definition for the given escalation code.interrupting(boolean interrupting) Sets whether the start event is interrupting or not.Methods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractCatchEventBuilder
compensateEventDefinition, compensateEventDefinition, condition, conditionalEventDefinition, conditionalEventDefinition, link, linkEventDefinition, linkEventDefinition, message, message, messageEventDefinition, parallelMultiple, signal, signal, signalEventDefinition, timerWithCycle, timerWithCycleExpression, timerWithDate, timerWithDateExpression, timerWithDuration, timerWithDuration, timerWithDurationExpression, zeebeInput, zeebeInputExpression, zeebeOutput, zeebeOutputExpressionMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, businessRuleTask, callActivity, callActivity, callActivity, compensationDone, compensationStart, condition, conditionExpression, connectTarget, connectTargetWithAssociation, connectTargetWithSequenceFlow, connectTo, createTarget, createTargetBuilder, createTargetBuilder, endEvent, endEvent, endEvent, eventBasedGateway, eventBasedGateway, exclusiveGateway, exclusiveGateway, getCurrentSequenceFlowBuilder, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, intermediateThrowEvent, isBoundaryEventWithStartedCompensation, isCompensationHandler, manualTask, manualTask, moveToActivity, moveToLastExclusiveGateway, moveToLastGateway, moveToLastInclusiveGateway, moveToNode, moveToProcess, parallelGateway, parallelGateway, receiveTask, receiveTask, receiveTask, scriptTask, scriptTask, scriptTask, sendTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, serviceTask, subProcess, subProcess, subProcess, task, task, transaction, transaction, userTask, userTask, userTaskMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractFlowElementBuilder
nameMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, addExtensionElement, asZeebeExpression, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyEscalationEventDefinition, createEmptyMessageEventDefinition, createEmptySignalEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessage, createMessageEventDefinition, createSibling, createSibling, createSignal, createSignalEventDefinition, createZeebeUserTaskForm, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findProcess, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeBpmnShape, setCoordinates, setWaypoints, setWaypointsWithSourceAndTargetMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
documentation, done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
Constructor Details
-
AbstractStartEventBuilder
protected AbstractStartEventBuilder(BpmnModelInstance modelInstance, StartEvent element, Class<?> selfType)
-
-
Method Details
-
error
Sets a catch all error definition.- Returns:
- the builder object
-
error
Sets an error definition for the given error code. If already an error with this code exists it will be used, otherwise a new error is created.- Parameters:
errorCode- the code of the error- Returns:
- the builder object
-
errorEventDefinition
Creates an error event definition with an unique id and returns a builder for the error event definition.- Returns:
- the error event definition builder object
-
errorEventDefinition
Creates an error event definition and returns a builder for the error event definition.- Returns:
- the error event definition builder object
-
escalation
Sets a catch all escalation definition.- Returns:
- the builder object
-
escalation
Sets an escalation definition for the given escalation code. If already an escalation with this code exists it will be used, otherwise a new escalation is created.- Parameters:
escalationCode- the code of the escalation- Returns:
- the builder object
-
compensation
Sets a catch compensation definition.- Returns:
- the builder object
-
interrupting
Sets whether the start event is interrupting or not.
-