Class AbstractReceiveTaskBuilder<B extends AbstractReceiveTaskBuilder<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.AbstractActivityBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractTaskBuilder<B,ReceiveTask>
io.camunda.zeebe.model.bpmn.builder.AbstractReceiveTaskBuilder<B>
- All Implemented Interfaces:
ZeebeVariablesMappingBuilder<B>
- Direct Known Subclasses:
ReceiveTaskBuilder
public abstract class AbstractReceiveTaskBuilder<B extends AbstractReceiveTaskBuilder<B>>
extends AbstractTaskBuilder<B,ReceiveTask>
- 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
ConstructorsModifierConstructorDescriptionprotectedAbstractReceiveTaskBuilder(BpmnModelInstance modelInstance, ReceiveTask element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionimplementation(String implementation) Sets the implementation of the receive task.Sets the receive task instantiate attribute to true.Sets the message of the send task.Sets the message with the given message name.message(Consumer<MessageBuilder> messageBuilderConsumer) Sets the operation of the send task.Methods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractActivityBuilder
boundaryEvent, boundaryEvent, boundaryEvent, calculateXCoordinate, multiInstance, multiInstance, setBoundaryEventCoordinates, zeebeInput, zeebeInputExpression, zeebeOutput, zeebeOutputExpressionMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, businessRuleTask, callActivity, callActivity, callActivity, compensationDone, compensationStart, condition, 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
-
AbstractReceiveTaskBuilder
protected AbstractReceiveTaskBuilder(BpmnModelInstance modelInstance, ReceiveTask element, Class<?> selfType)
-
-
Method Details
-
implementation
Sets the implementation of the receive task.- Parameters:
implementation- the implementation to set- Returns:
- the builder object
-
instantiate
Sets the receive task instantiate attribute to true.- Returns:
- the builder object
-
message
Sets the message of the send task.- Parameters:
message- the message to set- Returns:
- the builder object
-
message
Sets the message with 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
-
operation
Sets the operation of the send task.- Parameters:
operation- the operation to set- Returns:
- the builder object
-