Class AbstractBusinessRuleTaskBuilder<B extends AbstractBusinessRuleTaskBuilder<B>>

All Implemented Interfaces:
ZeebeExecutionListenersBuilder<B>, ZeebeJobWorkerElementBuilder<B>, ZeebeJobWorkerPropertiesBuilder<B>, ZeebeVariablesMappingBuilder<B>
Direct Known Subclasses:
BusinessRuleTaskBuilder

public abstract class AbstractBusinessRuleTaskBuilder<B extends AbstractBusinessRuleTaskBuilder<B>> extends AbstractJobWorkerTaskBuilder<B,BusinessRuleTask>
Author:
Sebastian Menski
  • Constructor Details

  • Method Details

    • implementation

      public B implementation(String implementation)
      Sets the implementation of the business rule task.
      Parameters:
      implementation - the implementation to set
      Returns:
      the builder object
    • zeebeCalledDecisionId

      public B zeebeCalledDecisionId(String decisionId)
      Sets a static id of the decision that is called.
      Parameters:
      decisionId - the id of the decision
      Returns:
      the builder object
    • zeebeCalledDecisionIdExpression

      public B zeebeCalledDecisionIdExpression(String decisionIdExpression)
      Sets a dynamic id of the decision that is called. The id is retrieved from the given expression.
      Parameters:
      decisionIdExpression - the expression for the id of the decision
      Returns:
      the builder object
    • zeebeResultVariable

      public B zeebeResultVariable(String resultVariable)
      Sets the name of the result variable.
      Parameters:
      resultVariable - the name of the result variable
      Returns:
      the builder object
    • zeebeBindingType

      public B zeebeBindingType(ZeebeBindingType bindingType)
      Sets the binding type for the decision that is called.
      Parameters:
      bindingType - the binding type for the decision
      Returns:
      the builder object
    • zeebeVersionTag

      public B zeebeVersionTag(String versionTag)
      Sets the version tag for the decision that is called.
      Parameters:
      versionTag - the version tag for the decision
      Returns:
      the builder object