org.camunda.bpm.model.bpmn.builder
Class AbstractSendTaskBuilder<B extends AbstractSendTaskBuilder<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,SendTask>
                          extended by org.camunda.bpm.model.bpmn.builder.AbstractSendTaskBuilder<B>
Direct Known Subclasses:
SendTaskBuilder

public abstract class AbstractSendTaskBuilder<B extends AbstractSendTaskBuilder<B>>
extends AbstractTaskBuilder<B,SendTask>

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 AbstractSendTaskBuilder(BpmnModelInstance modelInstance, SendTask element, Class<?> selfType)
           
 
Method Summary
 B camundaClass(Class delegateClass)
          Sets the camunda class attribute.
 B camundaClass(String fullQualifiedClassName)
          Sets the camunda class attribute.
 B camundaDelegateExpression(String camundaExpression)
          Sets the camunda delegateExpression attribute.
 B camundaExpression(String camundaExpression)
          Sets the camunda expression attribute.
 B camundaResultVariable(String camundaResultVariable)
          Sets the camunda resultVariable attribute.
 B camundaTaskPriority(String taskPriority)
          Set the camunda task priority attribute.
 B camundaTopic(String camundaTopic)
          Sets the camunda topic attribute.
 B camundaType(String camundaType)
          Sets the camunda type attribute.
 B implementation(String implementation)
          Sets the implementation of the send task.
 B message(Message message)
          Sets the message of the send task.
 B message(String messageName)
          Sets the message with the given message name.
 B operation(Operation operation)
          Sets the operation of the send 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

AbstractSendTaskBuilder

protected AbstractSendTaskBuilder(BpmnModelInstance modelInstance,
                                  SendTask element,
                                  Class<?> selfType)
Method Detail

implementation

public B implementation(String implementation)
Sets the implementation of the send task.

Parameters:
implementation - the implementation to set
Returns:
the builder object

message

public B message(Message message)
Sets the message of the send task.

Parameters:
message - the message to set
Returns:
the builder object

message

public B message(String messageName)
Sets the message with the given message name. If already a message with this name exists it will be used, otherwise a new message is created.

Parameters:
messageName - the name of the message
Returns:
the builder object

operation

public B operation(Operation operation)
Sets the operation of the send task.

Parameters:
operation - the operation to set
Returns:
the builder object

camundaClass

public B camundaClass(Class delegateClass)
Sets the camunda class attribute.

Parameters:
camundaClass - the class name to set
Returns:
the builder object

camundaClass

public B camundaClass(String fullQualifiedClassName)
Sets the camunda class attribute.

Parameters:
camundaClass - the class name to set
Returns:
the builder object

camundaDelegateExpression

public B camundaDelegateExpression(String camundaExpression)
Sets the camunda delegateExpression attribute.

Parameters:
camundaExpression - the delegateExpression to set
Returns:
the builder object

camundaExpression

public B camundaExpression(String camundaExpression)
Sets the camunda expression attribute.

Parameters:
camundaExpression - the expression to set
Returns:
the builder object

camundaResultVariable

public B camundaResultVariable(String camundaResultVariable)
Sets the camunda resultVariable attribute.

Parameters:
camundaResultVariable - the name of the process variable
Returns:
the builder object

camundaTopic

public B camundaTopic(String camundaTopic)
Sets the camunda topic attribute.

Parameters:
camundaTopic - the topic to set
Returns:
the builder object

camundaType

public B camundaType(String camundaType)
Sets the camunda type attribute.

Parameters:
camundaType - the type of the service task
Returns:
the builder object

camundaTaskPriority

public B camundaTaskPriority(String taskPriority)
Set the camunda task priority attribute. The priority is only used for service tasks which have as type value external

Parameters:
taskPriority - the task priority which should used for the external tasks
Returns:
the builder object


Copyright © 2017 camunda services GmbH. All rights reserved.