Class AbstractUserTaskBuilder<B extends AbstractUserTaskBuilder<B>>
java.lang.Object
io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,UserTask>
io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder<B,UserTask>
io.camunda.zeebe.model.bpmn.builder.AbstractFlowElementBuilder<B,UserTask>
io.camunda.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder<B,UserTask>
io.camunda.zeebe.model.bpmn.builder.AbstractActivityBuilder<B,UserTask>
io.camunda.zeebe.model.bpmn.builder.AbstractTaskBuilder<B,UserTask>
io.camunda.zeebe.model.bpmn.builder.AbstractUserTaskBuilder<B>
- All Implemented Interfaces:
ZeebeUserTaskPropertiesBuilder<B>,ZeebeVariablesMappingBuilder<B>
- Direct Known Subclasses:
UserTaskBuilder
public abstract class AbstractUserTaskBuilder<B extends AbstractUserTaskBuilder<B>>
extends AbstractTaskBuilder<B,UserTask>
implements ZeebeUserTaskPropertiesBuilder<B>
- Author:
- Sebastian Menski
-
Field Summary
Fields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStartedFields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
SPACE, ZEEBE_EXPRESSION_FORMATFields inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractUserTaskBuilder(BpmnModelInstance modelInstance, UserTask element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionimplementation(String implementation) Sets the implementation of the build user task.zeebeAssignee(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 expressionzeebeExternalFormReference(String externalFormReference) Sets a static external form reference for the user task.zeebeExternalFormReferenceExpression(String expression) Sets a dynamic external form reference for the user task that is retrieved from the given expression.zeebeFollowUpDate(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 expressionzeebeFormId(String formId) Sets the form id of the build user task.zeebeFormKey(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.zeebeTaskHeader(String key, String value) Marks the user task as native Zeebe 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.Methods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractActivityBuilder
boundaryEvent, boundaryEvent, boundaryEvent, calculateXCoordinate, multiInstance, multiInstance, setBoundaryEventCoordinates, zeebeInput, zeebeInputExpression, zeebeOutput, zeebeOutputExpressionMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, businessRuleTask, callActivity, callActivity, callActivity, compensationDone, compensationStart, condition, condition, conditionExpression, connectTarget, connectTargetWithAssociation, connectTargetWithSequenceFlow, connectTo, createTarget, createTargetBuilder, createTargetBuilder, endEvent, endEvent, endEvent, eventBasedGateway, eventBasedGateway, exclusiveGateway, exclusiveGateway, getCurrentSequenceFlowBuilder, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, intermediateThrowEvent, isBoundaryEventWithStartedCompensation, isCompensationHandler, manualTask, manualTask, moveToActivity, moveToLastExclusiveGateway, moveToLastGateway, moveToLastInclusiveGateway, moveToNode, moveToProcess, parallelGateway, parallelGateway, receiveTask, receiveTask, receiveTask, scriptTask, scriptTask, scriptTask, sendTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, serviceTask, subProcess, subProcess, subProcess, task, task, transaction, transaction, userTask, userTask, userTaskMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractFlowElementBuilder
nameMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, addExtensionElement, asZeebeExpression, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyEscalationEventDefinition, createEmptyMessageEventDefinition, createEmptySignalEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessage, createMessageEventDefinition, createSibling, createSibling, createSignal, createSignalEventDefinition, createZeebeUserTaskForm, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findProcess, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeBpmnShape, setCoordinates, setWaypoints, setWaypointsWithSourceAndTargetMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
documentation, done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
Constructor Details
-
AbstractUserTaskBuilder
protected AbstractUserTaskBuilder(BpmnModelInstance modelInstance, UserTask element, Class<?> selfType)
-
-
Method Details
-
implementation
Sets the implementation of the build user task.- Parameters:
implementation- the implementation to set- Returns:
- the builder object
-
zeebeFormKey
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets the form key with the format 'format:location:id' of the build user task.- Specified by:
zeebeFormKeyin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- 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
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets the form key of the build user task.- Specified by:
zeebeFormKeyin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
formKey- the form key to set- Returns:
- the builder object
-
zeebeUserTaskForm
Description copied from interface:ZeebeUserTaskPropertiesBuilderCreates a new user task form with the given context, assuming it is of the format camunda-forms and embedded inside the diagram.- Specified by:
zeebeUserTaskFormin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
userTaskForm- the XML encoded user task form json in the camunda-forms format- Returns:
- the builder object
-
zeebeUserTaskForm
Description copied from interface:ZeebeUserTaskPropertiesBuilderCreates a new user task form with the given context, assuming it is of the format camunda-forms and embedded inside the diagram.- Specified by:
zeebeUserTaskFormin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- 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
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a static assignee for the user task- Specified by:
zeebeAssigneein interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
assignee- the assignee of the user task- Returns:
- the builder object
-
zeebeAssigneeExpression
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a dynamic assignee for the user task that is retrieved from the given expression- Specified by:
zeebeAssigneeExpressionin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
expression- the expression for the assignee of the user task- Returns:
- the builder object
-
zeebeCandidateGroups
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a static candidateGroups for the user task- Specified by:
zeebeCandidateGroupsin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
candidateGroups- the candidateGroups of the user task- Returns:
- the builder object
-
zeebeCandidateGroupsExpression
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a dynamic candidateGroups for the user task that is retrieved from the given expression- Specified by:
zeebeCandidateGroupsExpressionin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
expression- the expression for the candidateGroups of the user task- Returns:
- the builder object
-
zeebeCandidateUsers
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a static candidateUsers for the user task- Specified by:
zeebeCandidateUsersin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
candidateUsers- the candidateUsers of the user task- Returns:
- the builder object
-
zeebeCandidateUsersExpression
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a dynamic candidateUsers for the user task that is retrieved from the given expression- Specified by:
zeebeCandidateUsersExpressionin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
expression- the expression for the candidateUsers of the user task- Returns:
- the builder object
-
zeebeDueDate
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a static dueDate for the user task- Specified by:
zeebeDueDatein interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
dueDate- the dueDate of the user task- Returns:
- the builder object
-
zeebeDueDateExpression
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a dynamic dueDate for the user task that is retrieved from the given expression- Specified by:
zeebeDueDateExpressionin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
expression- the expression for the dueDate of the user task- Returns:
- the builder object
-
zeebeFollowUpDate
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a static followUpDate for the user task- Specified by:
zeebeFollowUpDatein interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
followUpDate- the followUpDate of the user task- Returns:
- the builder object
-
zeebeFollowUpDateExpression
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a dynamic followUpDate for the user task that is retrieved from the given expression- Specified by:
zeebeFollowUpDateExpressionin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
expression- the expression for the followUpDate of the user task- Returns:
- the builder object
-
zeebeFormId
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets the form id of the build user task.- Specified by:
zeebeFormIdin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
formId- the form id to set- Returns:
- the builder object
-
zeebeUserTask
Description copied from interface:ZeebeUserTaskPropertiesBuilderMarks the user task as native Zeebe user task.- Specified by:
zeebeUserTaskin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Returns:
- the builder object
-
zeebeExternalFormReference
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a static external form reference for the user task.- Specified by:
zeebeExternalFormReferencein interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
externalFormReference- the external form reference of the user task- Returns:
- the builder object
-
zeebeExternalFormReferenceExpression
Description copied from interface:ZeebeUserTaskPropertiesBuilderSets a dynamic external form reference for the user task that is retrieved from the given expression.- Specified by:
zeebeExternalFormReferenceExpressionin interfaceZeebeUserTaskPropertiesBuilder<B extends AbstractUserTaskBuilder<B>>- Parameters:
expression- the expression for the external form reference of the user task- Returns:
- the builder object
-
zeebeTaskHeader
-