public abstract class AbstractMessageEventDefinitionBuilder<B extends AbstractMessageEventDefinitionBuilder<B>> extends AbstractRootElementBuilder<B,MessageEventDefinition>
SPACE
element, modelInstance, myself
Constructor and Description |
---|
AbstractMessageEventDefinitionBuilder(BpmnModelInstance modelInstance,
MessageEventDefinition element,
Class<?> selfType) |
Modifier and Type | Method and Description |
---|---|
B |
camundaTaskPriority(String taskPriority)
Sets the camunda task priority attribute.
|
B |
camundaTopic(String camundaTopic)
Sets the camunda topic attribute.
|
B |
camundaType(String camundaType)
Sets the camunda type attribute.
|
B |
id(String identifier)
Sets the identifier of the element.
|
B |
message(String message)
Sets the message attribute.
|
<T extends AbstractFlowNodeBuilder> |
messageEventDefinitionDone()
Finishes the building of a message event definition.
|
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createTimeCycle, createTimeDate, createTimeDuration, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
public AbstractMessageEventDefinitionBuilder(BpmnModelInstance modelInstance, MessageEventDefinition element, Class<?> selfType)
public B id(String identifier)
AbstractBaseElementBuilder
id
in class AbstractBaseElementBuilder<B extends AbstractMessageEventDefinitionBuilder<B>,MessageEventDefinition>
identifier
- the identifier to setpublic B message(String message)
message
- the message for the message event definitionpublic B camundaTopic(String camundaTopic)
camundaType(String)
attribute has the value external
.camundaTopic
- the topic to setpublic B camundaType(String camundaType)
camundaType
- the type of the service taskpublic B camundaTaskPriority(String taskPriority)
camundaType(String)
attribute has the value external
.taskPriority
- the priority for the external taskpublic <T extends AbstractFlowNodeBuilder> T messageEventDefinitionDone()
T
- Copyright © 2019. All rights reserved.