Class AbstractCatchEventBuilder<B extends AbstractCatchEventBuilder<B,E>,E extends CatchEvent>
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,E>
- All Implemented Interfaces:
ZeebeVariablesMappingBuilder<B>
- Direct Known Subclasses:
AbstractBoundaryEventBuilder,AbstractIntermediateCatchEventBuilder,AbstractStartEventBuilder
public abstract class AbstractCatchEventBuilder<B extends AbstractCatchEventBuilder<B,E>,E extends CatchEvent>
extends AbstractEventBuilder<B,E>
implements ZeebeVariablesMappingBuilder<B>
- 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
ConstructorsModifierConstructorDescriptionprotectedAbstractCatchEventBuilder(BpmnModelInstance modelInstance, E element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionSets a link event definition for the given link name.Sets an event definition for the given message name.message(Consumer<MessageBuilder> messageBuilderConsumer) Sets the event to be parallel multipleSets an event definition for the given signal name.signal(Consumer<SignalBuilder> signalBuilderConsumer) timerWithCycle(String timerCycle) Sets an event definition for the timer with a time cycle.timerWithCycleExpression(String timerCycle) Sets an event definition for the timer with a time cycle.timerWithDate(String timerDate) Sets an event definition for the timer with a time date.timerWithDateExpression(String timerDate) timerWithDuration(String timerDuration) Sets an event definition for the timer with a time duration.timerWithDuration(Duration timerDuration) Sets an event definition for the timer with a time duration.timerWithDurationExpression(String timerDuration) Sets an event definition for the timer with a time duration.zeebeInput(String source, String target) zeebeInputExpression(String sourceExpression, String target) zeebeOutput(String source, String target) zeebeOutputExpression(String sourceExpression, String target) Methods 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
-
AbstractCatchEventBuilder
-
-
Method Details
-
parallelMultiple
Sets the event to be parallel multiple- Returns:
- the builder object
-
message
Sets an event definition for the given message name. If already a message with this name exists it will be used, otherwise a new message is created.- Parameters:
messageName- the name of the message- Returns:
- the builder object
-
message
-
messageEventDefinition
-
signal
Sets an event definition for the given signal name. If already a signal with this name exists it will be used, otherwise a new signal is created.- Parameters:
signalName- the name of the signal- Returns:
- the builder object
-
signal
-
signalEventDefinition
-
timerWithDateExpression
-
timerWithDate
Sets an event definition for the timer with a time date.- Parameters:
timerDate- the time date of the timer- Returns:
- the builder object
-
timerWithDurationExpression
Sets an event definition for the timer with a time duration.- Parameters:
timerDuration- the duration of the timer (as feel expression, without the '=' prefix)- Returns:
- the builder object
-
timerWithDuration
Sets an event definition for the timer with a time duration.- Parameters:
timerDuration- the time duration of the timer- Returns:
- the builder object
-
timerWithDuration
Sets an event definition for the timer with a time duration.- Parameters:
timerDuration- the time duration of the timer- Returns:
- the builder object
-
timerWithCycleExpression
Sets an event definition for the timer with a time cycle.- Parameters:
timerCycle- the time cycle of the timer (as feel expression, without the '=' prefix)- Returns:
- the builder object
-
timerWithCycle
Sets an event definition for the timer with a time cycle.- Parameters:
timerCycle- the time cycle of the timer- Returns:
- the builder object
-
compensateEventDefinition
-
compensateEventDefinition
-
conditionalEventDefinition
-
conditionalEventDefinition
-
condition
- Overrides:
conditionin classAbstractFlowNodeBuilder<B extends AbstractCatchEventBuilder<B,E>, E extends CatchEvent>
-
link
Sets a link event definition for the given link name.- Parameters:
linkName- the name of the link- Returns:
- the builder object
-
linkEventDefinition
-
linkEventDefinition
-
zeebeInputExpression
- Specified by:
zeebeInputExpressionin interfaceZeebeVariablesMappingBuilder<B extends AbstractCatchEventBuilder<B,E>>
-
zeebeOutputExpression
- Specified by:
zeebeOutputExpressionin interfaceZeebeVariablesMappingBuilder<B extends AbstractCatchEventBuilder<B,E>>
-
zeebeInput
- Specified by:
zeebeInputin interfaceZeebeVariablesMappingBuilder<B extends AbstractCatchEventBuilder<B,E>>
-
zeebeOutput
- Specified by:
zeebeOutputin interfaceZeebeVariablesMappingBuilder<B extends AbstractCatchEventBuilder<B,E>>
-