Class AbstractServiceTaskBuilder<B extends AbstractServiceTaskBuilder<B>>

    • Constructor Detail

      • AbstractServiceTaskBuilder

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

      • implementation

        public B implementation​(java.lang.String implementation)
        Sets the implementation of the build service task.
        Parameters:
        implementation - the implementation to set
        Returns:
        the builder object
      • camundaClass

        public B camundaClass​(java.lang.Class camundaClass)
        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. This is only meaningful when the camundaType(String) attribute has the value external.
        Parameters:
        camundaTopic - the topic to set
        Returns:
        the build 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
      • camundaExternalTask

        public B camundaExternalTask​(java.lang.String camundaTopic)
        Sets the camunda topic attribute and the camunda type attribute to the value externalcamundaType(String) and camundaTopic(String).
        Parameters:
        camundaTopic - the topic to set
        Returns:
        the build object
      • camundaTaskPriority

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

        public CamundaErrorEventDefinitionBuilder camundaErrorEventDefinition()
        Creates an error event definition for this service task and returns a builder for the error event definition. This is only meaningful when the camundaType(String) attribute has the value external.
        Returns:
        the error event definition builder object