Class AbstractUserTaskBuilder<B extends AbstractUserTaskBuilder<B>>
- java.lang.Object
-
- org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractActivityBuilder<B,E>
-
- org.camunda.bpm.model.bpmn.builder.AbstractTaskBuilder<B,UserTask>
-
- org.camunda.bpm.model.bpmn.builder.AbstractUserTaskBuilder<B>
-
- Direct Known Subclasses:
UserTaskBuilder
public abstract class AbstractUserTaskBuilder<B extends AbstractUserTaskBuilder<B>> extends AbstractTaskBuilder<B,UserTask>
- Author:
- Sebastian Menski
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
compensateBoundaryEvent, compensationStarted
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
SPACE
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractUserTaskBuilder(BpmnModelInstance modelInstance, UserTask element, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
camundaAssignee(String camundaAssignee)
Sets the camunda attribute assignee.B
camundaCandidateGroups(String camundaCandidateGroups)
Sets the camunda candidate groups attribute.B
camundaCandidateGroups(List<String> camundaCandidateGroups)
Sets the camunda candidate groups attribute.B
camundaCandidateUsers(String camundaCandidateUsers)
Sets the camunda candidate users attribute.B
camundaCandidateUsers(List<String> camundaCandidateUsers)
Sets the camunda candidate users attribute.B
camundaDueDate(String camundaDueDate)
Sets the camunda due date attribute.B
camundaFollowUpDate(String camundaFollowUpDate)
Sets the camunda follow up date attribute.CamundaUserTaskFormFieldBuilder
camundaFormField()
Creates a new camunda form field extension element.B
camundaFormHandlerClass(Class camundaFormHandlerClass)
Sets the camunda form handler class attribute.B
camundaFormHandlerClass(String fullQualifiedClassName)
Sets the camunda form handler class attribute.B
camundaFormKey(String camundaFormKey)
Sets the camunda form key attribute.B
camundaFormRef(String camundaFormRef)
Sets the camunda form ref attribute.B
camundaFormRefBinding(String camundaFormRefBinding)
Sets the camunda form ref binding attribute.B
camundaFormRefVersion(String camundaFormRefVersion)
Sets the camunda form ref version attribute.B
camundaPriority(String camundaPriority)
Sets the camunda priority attribute.B
camundaTaskListenerClass(String eventName, Class listenerClass)
Add a class based task listener with specified event nameB
camundaTaskListenerClass(String eventName, String fullQualifiedClassName)
Add a class based task listener with specified event nameB
camundaTaskListenerClassTimeoutWithCycle(String id, Class listenerClass, String timerCycle)
B
camundaTaskListenerClassTimeoutWithCycle(String id, String fullQualifiedClassName, String timerCycle)
B
camundaTaskListenerClassTimeoutWithDate(String id, Class listenerClass, String timerDate)
B
camundaTaskListenerClassTimeoutWithDate(String id, String fullQualifiedClassName, String timerDate)
B
camundaTaskListenerClassTimeoutWithDuration(String id, Class listenerClass, String timerDuration)
B
camundaTaskListenerClassTimeoutWithDuration(String id, String fullQualifiedClassName, String timerDuration)
B
camundaTaskListenerDelegateExpression(String eventName, String delegateExpression)
B
camundaTaskListenerDelegateExpressionTimeoutWithCycle(String id, String delegateExpression, String timerCycle)
B
camundaTaskListenerDelegateExpressionTimeoutWithDate(String id, String delegateExpression, String timerDate)
B
camundaTaskListenerDelegateExpressionTimeoutWithDuration(String id, String delegateExpression, String timerDuration)
B
camundaTaskListenerExpression(String eventName, String expression)
B
camundaTaskListenerExpressionTimeoutWithCycle(String id, String expression, String timerCycle)
B
camundaTaskListenerExpressionTimeoutWithDate(String id, String expression, String timerDate)
B
camundaTaskListenerExpressionTimeoutWithDuration(String id, String expression, String timerDuration)
protected B
createCamundaTaskListenerClassTimeout(String id, String fullQualifiedClassName, TimerEventDefinition timerDefinition)
protected B
createCamundaTaskListenerDelegateExpressionTimeout(String id, String delegateExpression, TimerEventDefinition timerDefinition)
protected B
createCamundaTaskListenerExpressionTimeout(String id, String expression, TimerEventDefinition timerDefinition)
protected CamundaTaskListener
createCamundaTaskListenerTimeout(String id, TimerEventDefinition timerDefinition)
B
implementation(String implementation)
Sets the implementation of the build user task.-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractTaskBuilder
camundaAsync, camundaAsync
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractActivityBuilder
boundaryEvent, boundaryEvent, calculateXCoordinate, camundaInputParameter, camundaOutputParameter, multiInstance, setBoundaryEventCoordinates
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder
businessRuleTask, businessRuleTask, callActivity, callActivity, camundaAsyncAfter, camundaAsyncAfter, camundaAsyncBefore, camundaAsyncBefore, camundaExclusive, camundaExecutionListenerClass, camundaExecutionListenerClass, camundaExecutionListenerDelegateExpression, camundaExecutionListenerExpression, camundaFailedJobRetryTimeCycle, camundaJobPriority, compensationDone, compensationStart, condition, connectTarget, connectTargetWithAssociation, connectTargetWithSequenceFlow, connectTo, createTarget, createTargetBuilder, createTargetBuilder, endEvent, endEvent, eventBasedGateway, exclusiveGateway, exclusiveGateway, findLastGateway, inclusiveGateway, inclusiveGateway, intermediateCatchEvent, intermediateCatchEvent, intermediateThrowEvent, intermediateThrowEvent, isBoundaryEventWithStartedCompensation, isCompensationHandler, manualTask, manualTask, moveToActivity, moveToLastGateway, moveToNode, notCamundaExclusive, parallelGateway, parallelGateway, receiveTask, receiveTask, scriptTask, scriptTask, sendTask, sendTask, sequenceFlowId, serviceTask, serviceTask, subProcess, subProcess, transaction, transaction, userTask, userTask
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder
name
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder
addExtensionElement, createBpmnEdge, createBpmnShape, createChild, createChild, createChild, createChild, createCompensateEventDefinition, createEdge, createEmptyErrorEventDefinition, createEmptyMessageEventDefinition, createErrorEventDefinition, createErrorEventDefinition, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, createTimeCycle, createTimeDate, createTimeDuration, documentation, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, findErrorForNameAndCode, findErrorForNameAndCode, findEscalationForCode, findMessageForName, findSignalForName, getCreateSingleChild, getCreateSingleChild, getCreateSingleExtensionElement, id, resizeSubProcess, setCoordinates, setWaypoints, setWaypointsWithSourceAndTarget
-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
-
-
-
Constructor Detail
-
AbstractUserTaskBuilder
protected AbstractUserTaskBuilder(BpmnModelInstance modelInstance, UserTask element, Class<?> selfType)
-
-
Method Detail
-
implementation
public B implementation(String implementation)
Sets the implementation of the build user task.- Parameters:
implementation
- the implementation to set- Returns:
- the builder object
-
camundaAssignee
public B camundaAssignee(String camundaAssignee)
Sets the camunda attribute assignee.- Parameters:
camundaAssignee
- the assignee to set- Returns:
- the builder object
-
camundaCandidateGroups
public B camundaCandidateGroups(String camundaCandidateGroups)
Sets the camunda candidate groups attribute.- Parameters:
camundaCandidateGroups
- the candidate groups to set- Returns:
- the builder object
-
camundaCandidateGroups
public B camundaCandidateGroups(List<String> camundaCandidateGroups)
Sets the camunda candidate groups attribute.- Parameters:
camundaCandidateGroups
- the candidate groups to set- Returns:
- the builder object
-
camundaCandidateUsers
public B camundaCandidateUsers(String camundaCandidateUsers)
Sets the camunda candidate users attribute.- Parameters:
camundaCandidateUsers
- the candidate users to set- Returns:
- the builder object
-
camundaCandidateUsers
public B camundaCandidateUsers(List<String> camundaCandidateUsers)
Sets the camunda candidate users attribute.- Parameters:
camundaCandidateUsers
- the candidate users to set- Returns:
- the builder object
-
camundaDueDate
public B camundaDueDate(String camundaDueDate)
Sets the camunda due date attribute.- Parameters:
camundaDueDate
- the due date of the user task- Returns:
- the builder object
-
camundaFollowUpDate
public B camundaFollowUpDate(String camundaFollowUpDate)
Sets the camunda follow up date attribute.- Parameters:
camundaFollowUpDate
- the follow up date of the user task- Returns:
- the builder object
-
camundaFormHandlerClass
public B camundaFormHandlerClass(Class camundaFormHandlerClass)
Sets the camunda form handler class attribute.- Parameters:
camundaFormHandlerClass
- the class name of the form handler- Returns:
- the builder object
-
camundaFormHandlerClass
public B camundaFormHandlerClass(String fullQualifiedClassName)
Sets the camunda form handler class attribute.- Parameters:
camundaFormHandlerClass
- the class name of the form handler- Returns:
- the builder object
-
camundaFormKey
public B camundaFormKey(String camundaFormKey)
Sets the camunda form key attribute.- Parameters:
camundaFormKey
- the form key to set- Returns:
- the builder object
-
camundaFormRef
public B camundaFormRef(String camundaFormRef)
Sets the camunda form ref attribute.- Parameters:
camundaFormRef
- the form ref to set- Returns:
- the builder object
-
camundaFormRefBinding
public B camundaFormRefBinding(String camundaFormRefBinding)
Sets the camunda form ref binding attribute.- Parameters:
camundaFormRef
- the form ref binding to set- Returns:
- the builder object
-
camundaFormRefVersion
public B camundaFormRefVersion(String camundaFormRefVersion)
Sets the camunda form ref version attribute.- Parameters:
camundaFormRef
- the form ref version to set- Returns:
- the builder object
-
camundaPriority
public B camundaPriority(String camundaPriority)
Sets the camunda priority attribute.- Parameters:
camundaPriority
- the priority of the user task- Returns:
- the builder object
-
camundaFormField
public CamundaUserTaskFormFieldBuilder camundaFormField()
Creates a new camunda form field extension element.- Returns:
- the builder object
-
camundaTaskListenerClass
public B camundaTaskListenerClass(String eventName, Class listenerClass)
Add a class based task listener with specified event name- Parameters:
eventName
- - event names to listen tofullQualifiedClassName
- - a string representing a class- Returns:
- the builder object
-
camundaTaskListenerClass
public B camundaTaskListenerClass(String eventName, String fullQualifiedClassName)
Add a class based task listener with specified event name- Parameters:
eventName
- - event names to listen tofullQualifiedClassName
- - a string representing a class- Returns:
- the builder object
-
camundaTaskListenerExpression
public B camundaTaskListenerExpression(String eventName, String expression)
-
camundaTaskListenerDelegateExpression
public B camundaTaskListenerDelegateExpression(String eventName, String delegateExpression)
-
camundaTaskListenerClassTimeoutWithCycle
public B camundaTaskListenerClassTimeoutWithCycle(String id, Class listenerClass, String timerCycle)
-
camundaTaskListenerClassTimeoutWithDate
public B camundaTaskListenerClassTimeoutWithDate(String id, Class listenerClass, String timerDate)
-
camundaTaskListenerClassTimeoutWithDuration
public B camundaTaskListenerClassTimeoutWithDuration(String id, Class listenerClass, String timerDuration)
-
camundaTaskListenerClassTimeoutWithCycle
public B camundaTaskListenerClassTimeoutWithCycle(String id, String fullQualifiedClassName, String timerCycle)
-
camundaTaskListenerClassTimeoutWithDate
public B camundaTaskListenerClassTimeoutWithDate(String id, String fullQualifiedClassName, String timerDate)
-
camundaTaskListenerClassTimeoutWithDuration
public B camundaTaskListenerClassTimeoutWithDuration(String id, String fullQualifiedClassName, String timerDuration)
-
camundaTaskListenerExpressionTimeoutWithCycle
public B camundaTaskListenerExpressionTimeoutWithCycle(String id, String expression, String timerCycle)
-
camundaTaskListenerExpressionTimeoutWithDate
public B camundaTaskListenerExpressionTimeoutWithDate(String id, String expression, String timerDate)
-
camundaTaskListenerExpressionTimeoutWithDuration
public B camundaTaskListenerExpressionTimeoutWithDuration(String id, String expression, String timerDuration)
-
camundaTaskListenerDelegateExpressionTimeoutWithCycle
public B camundaTaskListenerDelegateExpressionTimeoutWithCycle(String id, String delegateExpression, String timerCycle)
-
camundaTaskListenerDelegateExpressionTimeoutWithDate
public B camundaTaskListenerDelegateExpressionTimeoutWithDate(String id, String delegateExpression, String timerDate)
-
camundaTaskListenerDelegateExpressionTimeoutWithDuration
public B camundaTaskListenerDelegateExpressionTimeoutWithDuration(String id, String delegateExpression, String timerDuration)
-
createCamundaTaskListenerClassTimeout
protected B createCamundaTaskListenerClassTimeout(String id, String fullQualifiedClassName, TimerEventDefinition timerDefinition)
-
createCamundaTaskListenerExpressionTimeout
protected B createCamundaTaskListenerExpressionTimeout(String id, String expression, TimerEventDefinition timerDefinition)
-
createCamundaTaskListenerDelegateExpressionTimeout
protected B createCamundaTaskListenerDelegateExpressionTimeout(String id, String delegateExpression, TimerEventDefinition timerDefinition)
-
createCamundaTaskListenerTimeout
protected CamundaTaskListener createCamundaTaskListenerTimeout(String id, TimerEventDefinition timerDefinition)
-
-