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, java.lang.Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
camundaAssignee(java.lang.String camundaAssignee)
Sets the camunda attribute assignee.B
camundaCandidateGroups(java.lang.String camundaCandidateGroups)
Sets the camunda candidate groups attribute.B
camundaCandidateGroups(java.util.List<java.lang.String> camundaCandidateGroups)
Sets the camunda candidate groups attribute.B
camundaCandidateUsers(java.lang.String camundaCandidateUsers)
Sets the camunda candidate users attribute.B
camundaCandidateUsers(java.util.List<java.lang.String> camundaCandidateUsers)
Sets the camunda candidate users attribute.B
camundaDueDate(java.lang.String camundaDueDate)
Sets the camunda due date attribute.B
camundaFollowUpDate(java.lang.String camundaFollowUpDate)
Sets the camunda follow up date attribute.CamundaUserTaskFormFieldBuilder
camundaFormField()
Creates a new camunda form field extension element.B
camundaFormHandlerClass(java.lang.Class camundaFormHandlerClass)
Sets the camunda form handler class attribute.B
camundaFormHandlerClass(java.lang.String fullQualifiedClassName)
Sets the camunda form handler class attribute.B
camundaFormKey(java.lang.String camundaFormKey)
Sets the camunda form key attribute.B
camundaFormRef(java.lang.String camundaFormRef)
Sets the camunda form ref attribute.B
camundaFormRefBinding(java.lang.String camundaFormRefBinding)
Sets the camunda form ref binding attribute.B
camundaFormRefVersion(java.lang.String camundaFormRefVersion)
Sets the camunda form ref version attribute.B
camundaPriority(java.lang.String camundaPriority)
Sets the camunda priority attribute.B
camundaTaskListenerClass(java.lang.String eventName, java.lang.Class listenerClass)
Add a class based task listener with specified event nameB
camundaTaskListenerClass(java.lang.String eventName, java.lang.String fullQualifiedClassName)
Add a class based task listener with specified event nameB
camundaTaskListenerClassTimeoutWithCycle(java.lang.String id, java.lang.Class listenerClass, java.lang.String timerCycle)
B
camundaTaskListenerClassTimeoutWithCycle(java.lang.String id, java.lang.String fullQualifiedClassName, java.lang.String timerCycle)
B
camundaTaskListenerClassTimeoutWithDate(java.lang.String id, java.lang.Class listenerClass, java.lang.String timerDate)
B
camundaTaskListenerClassTimeoutWithDate(java.lang.String id, java.lang.String fullQualifiedClassName, java.lang.String timerDate)
B
camundaTaskListenerClassTimeoutWithDuration(java.lang.String id, java.lang.Class listenerClass, java.lang.String timerDuration)
B
camundaTaskListenerClassTimeoutWithDuration(java.lang.String id, java.lang.String fullQualifiedClassName, java.lang.String timerDuration)
B
camundaTaskListenerDelegateExpression(java.lang.String eventName, java.lang.String delegateExpression)
B
camundaTaskListenerDelegateExpressionTimeoutWithCycle(java.lang.String id, java.lang.String delegateExpression, java.lang.String timerCycle)
B
camundaTaskListenerDelegateExpressionTimeoutWithDate(java.lang.String id, java.lang.String delegateExpression, java.lang.String timerDate)
B
camundaTaskListenerDelegateExpressionTimeoutWithDuration(java.lang.String id, java.lang.String delegateExpression, java.lang.String timerDuration)
B
camundaTaskListenerExpression(java.lang.String eventName, java.lang.String expression)
B
camundaTaskListenerExpressionTimeoutWithCycle(java.lang.String id, java.lang.String expression, java.lang.String timerCycle)
B
camundaTaskListenerExpressionTimeoutWithDate(java.lang.String id, java.lang.String expression, java.lang.String timerDate)
B
camundaTaskListenerExpressionTimeoutWithDuration(java.lang.String id, java.lang.String expression, java.lang.String timerDuration)
protected B
createCamundaTaskListenerClassTimeout(java.lang.String id, java.lang.String fullQualifiedClassName, TimerEventDefinition timerDefinition)
protected B
createCamundaTaskListenerDelegateExpressionTimeout(java.lang.String id, java.lang.String delegateExpression, TimerEventDefinition timerDefinition)
protected B
createCamundaTaskListenerExpressionTimeout(java.lang.String id, java.lang.String expression, TimerEventDefinition timerDefinition)
protected CamundaTaskListener
createCamundaTaskListenerTimeout(java.lang.String id, TimerEventDefinition timerDefinition)
B
implementation(java.lang.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, java.lang.Class<?> selfType)
-
-
Method Detail
-
implementation
public B implementation(java.lang.String implementation)
Sets the implementation of the build user task.- Parameters:
implementation
- the implementation to set- Returns:
- the builder object
-
camundaAssignee
public B camundaAssignee(java.lang.String camundaAssignee)
Sets the camunda attribute assignee.- Parameters:
camundaAssignee
- the assignee to set- Returns:
- the builder object
-
camundaCandidateGroups
public B camundaCandidateGroups(java.lang.String camundaCandidateGroups)
Sets the camunda candidate groups attribute.- Parameters:
camundaCandidateGroups
- the candidate groups to set- Returns:
- the builder object
-
camundaCandidateGroups
public B camundaCandidateGroups(java.util.List<java.lang.String> camundaCandidateGroups)
Sets the camunda candidate groups attribute.- Parameters:
camundaCandidateGroups
- the candidate groups to set- Returns:
- the builder object
-
camundaCandidateUsers
public B camundaCandidateUsers(java.lang.String camundaCandidateUsers)
Sets the camunda candidate users attribute.- Parameters:
camundaCandidateUsers
- the candidate users to set- Returns:
- the builder object
-
camundaCandidateUsers
public B camundaCandidateUsers(java.util.List<java.lang.String> camundaCandidateUsers)
Sets the camunda candidate users attribute.- Parameters:
camundaCandidateUsers
- the candidate users to set- Returns:
- the builder object
-
camundaDueDate
public B camundaDueDate(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.String camundaFormKey)
Sets the camunda form key attribute.- Parameters:
camundaFormKey
- the form key to set- Returns:
- the builder object
-
camundaFormRef
public B camundaFormRef(java.lang.String camundaFormRef)
Sets the camunda form ref attribute.- Parameters:
camundaFormRef
- the form ref to set- Returns:
- the builder object
-
camundaFormRefBinding
public B camundaFormRefBinding(java.lang.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(java.lang.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(java.lang.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(java.lang.String eventName, java.lang.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(java.lang.String eventName, java.lang.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(java.lang.String eventName, java.lang.String expression)
-
camundaTaskListenerDelegateExpression
public B camundaTaskListenerDelegateExpression(java.lang.String eventName, java.lang.String delegateExpression)
-
camundaTaskListenerClassTimeoutWithCycle
public B camundaTaskListenerClassTimeoutWithCycle(java.lang.String id, java.lang.Class listenerClass, java.lang.String timerCycle)
-
camundaTaskListenerClassTimeoutWithDate
public B camundaTaskListenerClassTimeoutWithDate(java.lang.String id, java.lang.Class listenerClass, java.lang.String timerDate)
-
camundaTaskListenerClassTimeoutWithDuration
public B camundaTaskListenerClassTimeoutWithDuration(java.lang.String id, java.lang.Class listenerClass, java.lang.String timerDuration)
-
camundaTaskListenerClassTimeoutWithCycle
public B camundaTaskListenerClassTimeoutWithCycle(java.lang.String id, java.lang.String fullQualifiedClassName, java.lang.String timerCycle)
-
camundaTaskListenerClassTimeoutWithDate
public B camundaTaskListenerClassTimeoutWithDate(java.lang.String id, java.lang.String fullQualifiedClassName, java.lang.String timerDate)
-
camundaTaskListenerClassTimeoutWithDuration
public B camundaTaskListenerClassTimeoutWithDuration(java.lang.String id, java.lang.String fullQualifiedClassName, java.lang.String timerDuration)
-
camundaTaskListenerExpressionTimeoutWithCycle
public B camundaTaskListenerExpressionTimeoutWithCycle(java.lang.String id, java.lang.String expression, java.lang.String timerCycle)
-
camundaTaskListenerExpressionTimeoutWithDate
public B camundaTaskListenerExpressionTimeoutWithDate(java.lang.String id, java.lang.String expression, java.lang.String timerDate)
-
camundaTaskListenerExpressionTimeoutWithDuration
public B camundaTaskListenerExpressionTimeoutWithDuration(java.lang.String id, java.lang.String expression, java.lang.String timerDuration)
-
camundaTaskListenerDelegateExpressionTimeoutWithCycle
public B camundaTaskListenerDelegateExpressionTimeoutWithCycle(java.lang.String id, java.lang.String delegateExpression, java.lang.String timerCycle)
-
camundaTaskListenerDelegateExpressionTimeoutWithDate
public B camundaTaskListenerDelegateExpressionTimeoutWithDate(java.lang.String id, java.lang.String delegateExpression, java.lang.String timerDate)
-
camundaTaskListenerDelegateExpressionTimeoutWithDuration
public B camundaTaskListenerDelegateExpressionTimeoutWithDuration(java.lang.String id, java.lang.String delegateExpression, java.lang.String timerDuration)
-
createCamundaTaskListenerClassTimeout
protected B createCamundaTaskListenerClassTimeout(java.lang.String id, java.lang.String fullQualifiedClassName, TimerEventDefinition timerDefinition)
-
createCamundaTaskListenerExpressionTimeout
protected B createCamundaTaskListenerExpressionTimeout(java.lang.String id, java.lang.String expression, TimerEventDefinition timerDefinition)
-
createCamundaTaskListenerDelegateExpressionTimeout
protected B createCamundaTaskListenerDelegateExpressionTimeout(java.lang.String id, java.lang.String delegateExpression, TimerEventDefinition timerDefinition)
-
createCamundaTaskListenerTimeout
protected CamundaTaskListener createCamundaTaskListenerTimeout(java.lang.String id, TimerEventDefinition timerDefinition)
-
-