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

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

      public B operatonClass(String fullQualifiedClassName)
      Sets the operaton class attribute.
      Parameters:
      operatonClass - the class name to set
      Returns:
      the builder object
    • operatonDelegateExpression

      public B operatonDelegateExpression(String operatonExpression)
      Sets the operaton delegateExpression attribute.
      Parameters:
      operatonExpression - the delegateExpression to set
      Returns:
      the builder object
    • operatonExpression

      public B operatonExpression(String operatonExpression)
      Sets the operaton expression attribute.
      Parameters:
      operatonExpression - the expression to set
      Returns:
      the builder object
    • operatonResultVariable

      public B operatonResultVariable(String operatonResultVariable)
      Sets the operaton resultVariable attribute.
      Parameters:
      operatonResultVariable - the name of the process variable
      Returns:
      the builder object
    • operatonTopic

      public B operatonTopic(String operatonTopic)
      Sets the operaton topic attribute. This is only meaningful when the operatonType(String) attribute has the value external.
      Parameters:
      operatonTopic - the topic to set
      Returns:
      the build object
    • operatonType

      public B operatonType(String operatonType)
      Sets the operaton type attribute.
      Parameters:
      operatonType - the type of the service task
      Returns:
      the builder object
    • operatonExternalTask

      public B operatonExternalTask(String operatonTopic)
      Sets the operaton topic attribute and the operaton type attribute to the value externalinvalid input: '<'/code. Reduces two calls to operatonType(String) and operatonTopic(String).
      Parameters:
      operatonTopic - the topic to set
      Returns:
      the build object
    • operatonTaskPriority

      public B operatonTaskPriority(String taskPriority)
      Sets the operaton task priority attribute. This is only meaningful when the operatonType(String) attribute has the value external.
      Parameters:
      taskPriority - the priority for the external task
      Returns:
      the builder object
    • operatonErrorEventDefinition

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