Class AbstractMessageEventDefinitionBuilder<B extends AbstractMessageEventDefinitionBuilder<B>>
java.lang.Object
org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
org.camunda.bpm.model.bpmn.builder.AbstractRootElementBuilder<B,MessageEventDefinition>
org.camunda.bpm.model.bpmn.builder.AbstractMessageEventDefinitionBuilder<B>
- Direct Known Subclasses:
MessageEventDefinitionBuilder
public abstract class AbstractMessageEventDefinitionBuilder<B extends AbstractMessageEventDefinitionBuilder<B>>
extends AbstractRootElementBuilder<B,MessageEventDefinition>
- Author:
- Christopher Zell <christopher.zell@camunda.com>
-
Field Summary
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACE
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
Constructor Summary
ConstructorDescriptionAbstractMessageEventDefinitionBuilder
(BpmnModelInstance modelInstance, MessageEventDefinition element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptioncamundaTaskPriority
(String taskPriority) Sets the camunda task priority attribute.camundaTopic
(String camundaTopic) Sets the camunda topic attribute.camundaType
(String camundaType) Sets the camunda type attribute.Sets the identifier of the element.Sets the message attribute.<T extends AbstractFlowNodeBuilder>
TFinishes the building of a message event definition.Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createTimeCycle, createTimeDate, createTimeDuration, documentation, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
Constructor Details
-
AbstractMessageEventDefinitionBuilder
public AbstractMessageEventDefinitionBuilder(BpmnModelInstance modelInstance, MessageEventDefinition element, Class<?> selfType)
-
-
Method Details
-
id
Description copied from class:AbstractBaseElementBuilder
Sets the identifier of the element.- Overrides:
id
in classAbstractBaseElementBuilder<B extends AbstractMessageEventDefinitionBuilder<B>,
MessageEventDefinition> - Parameters:
identifier
- the identifier to set- Returns:
- the builder object
-
message
Sets the message attribute.- Parameters:
message
- the message for the message event definition- Returns:
- the builder object
-
camundaTopic
Sets the camunda topic attribute. This is only meaningful when thecamundaType(String)
attribute has the valueexternal
.- Parameters:
camundaTopic
- the topic to set- Returns:
- the builder object
-
camundaType
Sets the camunda type attribute.- Parameters:
camundaType
- the type of the service task- Returns:
- the builder object
-
camundaTaskPriority
Sets the camunda task priority attribute. This is only meaningful when thecamundaType(String)
attribute has the valueexternal
.- Parameters:
taskPriority
- the priority for the external task- Returns:
- the builder object
-
messageEventDefinitionDone
Finishes the building of a message event definition.- Type Parameters:
T
-- Returns:
- the parent event builder
-