Interface ZeebeUserTaskPropertiesBuilder<B extends ZeebeUserTaskPropertiesBuilder<B>>

All Known Implementing Classes:
AbstractUserTaskBuilder, UserTaskBuilder

public interface ZeebeUserTaskPropertiesBuilder<B extends ZeebeUserTaskPropertiesBuilder<B>>
A fluent builder for zeebe specific user task related properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets a static assignee for the user task
    Sets a dynamic assignee for the user task that is retrieved from the given expression
    zeebeCandidateGroups(String candidateGroups)
    Sets a static candidateGroups for the user task
    Sets a dynamic candidateGroups for the user task that is retrieved from the given expression
    Sets the form key of the build user task.
    zeebeFormKey(String format, String location, String id)
    Sets the form key with the format 'format:location:id' of the build user task.
    zeebeUserTaskForm(String userTaskForm)
    Creates a new user task form with the given context, assuming it is of the format camunda-forms and embedded inside the diagram.
    zeebeUserTaskForm(String id, String userTaskForm)
    Creates a new user task form with the given context, assuming it is of the format camunda-forms and embedded inside the diagram.
  • Method Details

    • zeebeFormKey

      B zeebeFormKey(String format, String location, String id)
      Sets the form key with the format 'format:location:id' of the build user task.
      Parameters:
      format - the format of the reference form
      location - the location where the form is available
      id - the id of the form
      Returns:
      the builder object
    • zeebeFormKey

      B zeebeFormKey(String formKey)
      Sets the form key of the build user task.
      Parameters:
      formKey - the form key to set
      Returns:
      the builder object
    • zeebeUserTaskForm

      B zeebeUserTaskForm(String userTaskForm)
      Creates a new user task form with the given context, assuming it is of the format camunda-forms and embedded inside the diagram.
      Parameters:
      userTaskForm - the XML encoded user task form json in the camunda-forms format
      Returns:
      the builder object
    • zeebeUserTaskForm

      B zeebeUserTaskForm(String id, String userTaskForm)
      Creates a new user task form with the given context, assuming it is of the format camunda-forms and embedded inside the diagram.
      Parameters:
      id - the unique identifier of the user task form element
      userTaskForm - the XML encoded user task form json in the camunda-forms format
      Returns:
      the builder object
    • zeebeAssignee

      B zeebeAssignee(String assignee)
      Sets a static assignee for the user task
      Parameters:
      assignee - the assignee of the user task
      Returns:
      the builder object
    • zeebeAssigneeExpression

      B zeebeAssigneeExpression(String expression)
      Sets a dynamic assignee for the user task that is retrieved from the given expression
      Parameters:
      expression - the expression for the assignee of the user task
      Returns:
      the builder object
    • zeebeCandidateGroups

      B zeebeCandidateGroups(String candidateGroups)
      Sets a static candidateGroups for the user task
      Parameters:
      candidateGroups - the candidateGroups of the user task
      Returns:
      the builder object
    • zeebeCandidateGroupsExpression

      B zeebeCandidateGroupsExpression(String expression)
      Sets a dynamic candidateGroups for the user task that is retrieved from the given expression
      Parameters:
      expression - the expression for the candidateGroups of the user task
      Returns:
      the builder object