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
    • fluxnovaClass

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

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

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

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

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

      public B fluxnovaTopic(String camundaTopic)
      Sets the camunda topic attribute. This is only meaningful when the fluxnovaType(String) attribute has the value external.
      Parameters:
      camundaTopic - the topic to set
      Returns:
      the build object
    • fluxnovaType

      public B fluxnovaType(String camundaType)
      Sets the camunda type attribute.
      Parameters:
      camundaType - the type of the service task
      Returns:
      the builder object
    • fluxnovaExternalTask

      public B fluxnovaExternalTask(String camundaTopic)
      Sets the camunda topic attribute and the camunda type attribute to the value externalinvalid input: '<'/code. Reduces two calls to fluxnovaType(String) and fluxnovaTopic(String).
      Parameters:
      camundaTopic - the topic to set
      Returns:
      the build object
    • fluxnovaTaskPriority

      public B fluxnovaTaskPriority(String taskPriority)
      Sets the camunda task priority attribute. This is only meaningful when the fluxnovaType(String) attribute has the value external.
      Parameters:
      taskPriority - the priority for the external task
      Returns:
      the builder object
    • fluxnovaErrorEventDefinition

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