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, compensationStarted
Fields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
SPACE, ZEEBE_EXPRESSION_FORMAT
Fields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractCatchEventBuilder
(BpmnModelInstance modelInstance, E element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionSets 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.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, parallelGateway, parallelGateway, receiveTask, receiveTask, receiveTask, scriptTask, scriptTask, scriptTask, sendTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, serviceTask, subProcess, subProcess, subProcess, transaction, transaction, userTask, userTask, userTask
Methods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractFlowElementBuilder
name
Methods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, addExtensionElement, asZeebeExpression, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessage, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createZeebeUserTaskForm, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findProcess, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
Methods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
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
-
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:
condition
in classAbstractFlowNodeBuilder<B extends AbstractCatchEventBuilder<B,
E>, E extends CatchEvent>
-
zeebeInputExpression
- Specified by:
zeebeInputExpression
in interfaceZeebeVariablesMappingBuilder<B extends AbstractCatchEventBuilder<B,
E>>
-
zeebeOutputExpression
- Specified by:
zeebeOutputExpression
in interfaceZeebeVariablesMappingBuilder<B extends AbstractCatchEventBuilder<B,
E>>
-
zeebeInput
- Specified by:
zeebeInput
in interfaceZeebeVariablesMappingBuilder<B extends AbstractCatchEventBuilder<B,
E>>
-
zeebeOutput
- Specified by:
zeebeOutput
in interfaceZeebeVariablesMappingBuilder<B extends AbstractCatchEventBuilder<B,
E>>
-