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 TypeMethodDescriptionzeebeAssignee(String assignee) Sets a static assignee for the user taskzeebeAssigneeExpression(String expression) Sets a dynamic assignee for the user task that is retrieved from the given expressionzeebeCandidateGroups(String candidateGroups) Sets a static candidateGroups for the user taskzeebeCandidateGroupsExpression(String expression) Sets a dynamic candidateGroups for the user task that is retrieved from the given expressionzeebeCandidateUsers(String candidateUsers) Sets a static candidateUsers for the user taskzeebeCandidateUsersExpression(String expression) Sets a dynamic candidateUsers for the user task that is retrieved from the given expressionzeebeDueDate(String dueDate) Sets a static dueDate for the user taskzeebeDueDateExpression(String expression) Sets a dynamic dueDate for the user task that is retrieved from the given expressionzeebeFollowUpDate(String followUpDate) Sets a static followUpDate for the user taskzeebeFollowUpDateExpression(String expression) Sets a dynamic followUpDate for the user task that is retrieved from the given expressionzeebeFormKey(String formKey) 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
Sets the form key with the format 'format:location:id' of the build user task.- Parameters:
format- the format of the reference formlocation- the location where the form is availableid- the id of the form- Returns:
- the builder object
-
zeebeFormKey
Sets the form key of the build user task.- Parameters:
formKey- the form key to set- Returns:
- the builder object
-
zeebeUserTaskForm
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
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 elementuserTaskForm- the XML encoded user task form json in the camunda-forms format- Returns:
- the builder object
-
zeebeAssignee
Sets a static assignee for the user task- Parameters:
assignee- the assignee of the user task- Returns:
- the builder object
-
zeebeAssigneeExpression
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
Sets a static candidateGroups for the user task- Parameters:
candidateGroups- the candidateGroups of the user task- Returns:
- the builder object
-
zeebeCandidateGroupsExpression
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
Sets a static candidateUsers for the user task- Parameters:
candidateUsers- the candidateUsers of the user task- Returns:
- the builder object
-
zeebeCandidateUsersExpression
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
Sets a static dueDate for the user task- Parameters:
dueDate- the dueDate of the user task- Returns:
- the builder object
-
zeebeDueDateExpression
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
Sets a static followUpDate for the user task- Parameters:
followUpDate- the followUpDate of the user task- Returns:
- the builder object
-
zeebeFollowUpDateExpression
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
-