Package io.zeebe.model.bpmn.builder
Class AbstractSendTaskBuilder<B extends AbstractSendTaskBuilder<B>>
- 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>
-
- io.zeebe.model.bpmn.builder.AbstractActivityBuilder<B,E>
-
- io.zeebe.model.bpmn.builder.AbstractTaskBuilder<B,SendTask>
-
- io.zeebe.model.bpmn.builder.AbstractSendTaskBuilder<B>
-
- All Implemented Interfaces:
ZeebeVariablesMappingBuilder<B>
- Direct Known Subclasses:
SendTaskBuilder
public abstract class AbstractSendTaskBuilder<B extends AbstractSendTaskBuilder<B>> extends AbstractTaskBuilder<B,SendTask>
- Author:
- Sebastian Menski
-
-
Field Summary
-
Fields inherited from class io.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, 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
AbstractSendTaskBuilder(BpmnModelInstance modelInstance, SendTask element, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
implementation(String implementation)
Sets the implementation of the send task.B
message(Message message)
Sets the message of the send task.B
message(String messageName)
Sets the message with the given message name.B
operation(Operation operation)
Sets the operation of the send task.-
Methods inherited from class io.zeebe.model.bpmn.builder.AbstractActivityBuilder
boundaryEvent, boundaryEvent, boundaryEvent, calculateXCoordinate, multiInstance, multiInstance, setBoundaryEventCoordinates, zeebeInput, zeebeInputExpression, zeebeOutput, zeebeOutputExpression
-
Methods inherited from class io.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder
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, isBoundaryEventWithStartedCompensation, isCompensationHandler, manualTask, manualTask, moveToActivity, moveToLastExclusiveGateway, moveToLastGateway, moveToNode, parallelGateway, parallelGateway, receiveTask, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, serviceTask, subProcess, subProcess, subProcess, transaction, transaction, userTask, userTask
-
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
-
-
-
-
Constructor Detail
-
AbstractSendTaskBuilder
protected AbstractSendTaskBuilder(BpmnModelInstance modelInstance, SendTask element, Class<?> selfType)
-
-
Method Detail
-
implementation
public B implementation(String implementation)
Sets the implementation of the send task.- Parameters:
implementation
- the implementation to set- Returns:
- the builder object
-
message
public B message(Message message)
Sets the message of the send task.- Parameters:
message
- the message to set- Returns:
- the builder object
-
message
public B message(String messageName)
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
-
-