Class AbstractSendTaskBuilder<B extends AbstractSendTaskBuilder<B>>

    • Constructor Detail

      • AbstractSendTaskBuilder

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

      • implementation

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

        public B camundaClass​(java.lang.Class delegateClass)
        Sets the camunda class attribute.
        Parameters:
        camundaClass - the class name to set
        Returns:
        the builder object
      • camundaClass

        public B camundaClass​(java.lang.String fullQualifiedClassName)
        Sets the camunda class attribute.
        Parameters:
        camundaClass - the class name to set
        Returns:
        the builder object
      • camundaDelegateExpression

        public B camundaDelegateExpression​(java.lang.String camundaExpression)
        Sets the camunda delegateExpression attribute.
        Parameters:
        camundaExpression - the delegateExpression to set
        Returns:
        the builder object
      • camundaExpression

        public B camundaExpression​(java.lang.String camundaExpression)
        Sets the camunda expression attribute.
        Parameters:
        camundaExpression - the expression to set
        Returns:
        the builder object
      • camundaResultVariable

        public B camundaResultVariable​(java.lang.String camundaResultVariable)
        Sets the camunda resultVariable attribute.
        Parameters:
        camundaResultVariable - the name of the process variable
        Returns:
        the builder object
      • camundaTopic

        public B camundaTopic​(java.lang.String camundaTopic)
        Sets the camunda topic attribute.
        Parameters:
        camundaTopic - the topic to set
        Returns:
        the builder object
      • camundaType

        public B camundaType​(java.lang.String camundaType)
        Sets the camunda type attribute.
        Parameters:
        camundaType - the type of the service task
        Returns:
        the builder object
      • camundaTaskPriority

        public B camundaTaskPriority​(java.lang.String taskPriority)
        Set the camunda task priority attribute. The priority is only used for service tasks which have as type value external
        Parameters:
        taskPriority - the task priority which should used for the external tasks
        Returns:
        the builder object