Class AbstractReceiveTaskBuilder<B extends AbstractReceiveTaskBuilder<B>>

    • Constructor Detail

      • AbstractReceiveTaskBuilder

        protected AbstractReceiveTaskBuilder​(BpmnModelInstance modelInstance,
                                             ReceiveTask element,
                                             java.lang.Class<?> selfType)
    • Method Detail

      • implementation

        public B implementation​(java.lang.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​(java.lang.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