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

      B zeebeCandidateUsers(String candidateUsers)
      Sets a static candidateUsers for the user task
      Parameters:
      candidateUsers - the candidateUsers of the user task
      Returns:
      the builder object
    • zeebeCandidateUsersExpression

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

      B zeebeDueDate(String dueDate)
      Sets a static dueDate for the user task
      Parameters:
      dueDate - the dueDate of the user task
      Returns:
      the builder object
    • zeebeDueDateExpression

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

      B zeebeFollowUpDate(String followUpDate)
      Sets a static followUpDate for the user task
      Parameters:
      followUpDate - the followUpDate of the user task
      Returns:
      the builder object
    • zeebeFollowUpDateExpression

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