Class AbstractUserTaskBuilder<B extends AbstractUserTaskBuilder<B>>
java.lang.Object
io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
io.camunda.zeebe.model.bpmn.builder.AbstractActivityBuilder<B,E>
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 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.zeebeTaskHeader(String key, String value) 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, 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, createEmptyMessageEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessage, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createZeebeUserTaskForm, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findProcess, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTargetMethods inherited from class io.camunda.zeebe.model.bpmn.builder.AbstractBpmnModelElementBuilder
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
-
zeebeTaskHeader
-