org.camunda.bpm.model.bpmn.builder
Class AbstractUserTaskBuilder<B extends AbstractUserTaskBuilder<B>>

java.lang.Object
  extended by org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,E>
      extended by org.camunda.bpm.model.bpmn.builder.AbstractBaseElementBuilder<B,E>
          extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowElementBuilder<B,E>
              extended by org.camunda.bpm.model.bpmn.builder.AbstractFlowNodeBuilder<B,E>
                  extended by org.camunda.bpm.model.bpmn.builder.AbstractActivityBuilder<B,E>
                      extended by org.camunda.bpm.model.bpmn.builder.AbstractTaskBuilder<B,UserTask>
                          extended by 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
protected AbstractUserTaskBuilder(BpmnModelInstance modelInstance, UserTask element, Class<?> selfType)
           
 
Method Summary
 B camundaAssignee(String camundaAssignee)
          Sets the camunda attribute assignee.
 B camundaCandidateGroups(List<String> camundaCandidateGroups)
          Sets the camunda candidate groups attribute.
 B camundaCandidateGroups(String camundaCandidateGroups)
          Sets the camunda candidate groups attribute.
 B camundaCandidateUsers(List<String> camundaCandidateUsers)
          Sets the camunda candidate users attribute.
 B camundaCandidateUsers(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 camundaPriority(String camundaPriority)
          Sets the camunda priority attribute.
 B camundaTaskListenerClass(String eventName, Class listenerClass)
          Add a class based task listener with specified event name
 B camundaTaskListenerClass(String eventName, String fullQualifiedClassName)
          Add a class based task listener with specified event name
 B camundaTaskListenerDelegateExpression(String eventName, String delegateExpression)
           
 B camundaTaskListenerExpression(String eventName, String expression)
           
 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, createEscalationEventDefinition, createInstance, createInstance, createMessageEventDefinition, createSibling, createSibling, createSignalEventDefinition, findBpmnEdge, findBpmnPlane, findBpmnShape, findErrorDefinitionForCode, 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, transactionDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

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 to
fullQualifiedClassName - - 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 to
fullQualifiedClassName - - 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)


Copyright © 2017 camunda services GmbH. All rights reserved.