Class AbstractServiceTaskBuilder<B extends AbstractServiceTaskBuilder<B>>

Direct Known Subclasses:
ServiceTaskBuilder

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

  • Method Details

    • implementation

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

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

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

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

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

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

      public B camundaTopic(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(String camundaType)
      Sets the camunda type attribute.
      Parameters:
      camundaType - the type of the service task
      Returns:
      the builder object
    • camundaExternalTask

      public B camundaExternalTask(String camundaTopic)
      Sets the camunda topic attribute and the camunda type attribute to the value external</code. Reduces two calls to camundaType(String) and camundaTopic(String).
      Parameters:
      camundaTopic - the topic to set
      Returns:
      the build object
    • camundaTaskPriority

      public B camundaTaskPriority(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