Class AbstractReceiveTaskBuilder<B extends AbstractReceiveTaskBuilder<B>>

Direct Known Subclasses:
ReceiveTaskBuilder

public abstract class AbstractReceiveTaskBuilder<B extends AbstractReceiveTaskBuilder<B>> extends AbstractTaskBuilder<B,ReceiveTask>
Author:
Sebastian Menski
  • Constructor Details

  • Method Details

    • implementation

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

      public B instantiate()
      Sets the receive task instantiate attribute to true.
      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
    • operation

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