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