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
-
-
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
Constructors Constructor Description AbstractMessageEventDefinitionBuilder(BpmnModelInstance modelInstance, MessageEventDefinition element, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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>
TmessageEventDefinitionDone()
Finishes 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 Detail
-
AbstractMessageEventDefinitionBuilder
public AbstractMessageEventDefinitionBuilder(BpmnModelInstance modelInstance, MessageEventDefinition element, Class<?> selfType)
-
-
Method Detail
-
id
public B id(String identifier)
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
public B message(String message)
Sets the message attribute.- Parameters:
message
- the message for the message event definition- Returns:
- the builder object
-
camundaTopic
public B camundaTopic(String 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
public B camundaType(String camundaType)
Sets the camunda type attribute.- Parameters:
camundaType
- the type of the service task- Returns:
- the builder object
-
camundaTaskPriority
public B camundaTaskPriority(String taskPriority)
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
public <T extends AbstractFlowNodeBuilder> T messageEventDefinitionDone()
Finishes the building of a message event definition.- Type Parameters:
T
-- Returns:
- the parent event builder
-
-