Class AbstractMessageEventDefinitionBuilder<B extends 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>
  • Constructor Details

  • Method Details

    • id

      public B id(String identifier)
      Description copied from class: AbstractBaseElementBuilder
      Sets the identifier of the element.
      Overrides:
      id in class AbstractBaseElementBuilder<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 the camundaType(String) attribute has the value external.
      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 the camundaType(String) attribute has the value external.
      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