Class AbstractSendTaskBuilder<B extends AbstractSendTaskBuilder<B>>

All Implemented Interfaces:
ZeebeJobWorkerElementBuilder<B>, ZeebeJobWorkerPropertiesBuilder<B>, ZeebeVariablesMappingBuilder<B>
Direct Known Subclasses:
SendTaskBuilder

public abstract class AbstractSendTaskBuilder<B extends AbstractSendTaskBuilder<B>> extends AbstractJobWorkerTaskBuilder<B,SendTask>
Author:
Sebastian Menski
  • Constructor Details

  • Method Details

    • implementation

      public B implementation(String implementation)
      Sets the implementation of the send task.
      Parameters:
      implementation - the implementation to set
      Returns:
      the builder object
    • message

      public B message(Message message)
      Sets the message of the send task.
      Parameters:
      message - the message to set
      Returns:
      the builder object
    • message

      public B message(String messageName)
      Sets the message with the given message name. If already a message with this name exists it will be used, otherwise a new message is created.
      Parameters:
      messageName - the name of the message
      Returns:
      the builder object
    • message

      public B message(Consumer<PublishMessageBuilder> consumer)
    • operation

      public B operation(Operation operation)
      Sets the operation of the send task.
      Parameters:
      operation - the operation to set
      Returns:
      the builder object