public abstract class AbstractMessageEventDefinitionBuilder<B extends AbstractMessageEventDefinitionBuilder<B>> extends AbstractRootElementBuilder<B,MessageEventDefinition>
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, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement
done, subProcessDone, 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 © 2018. All rights reserved.