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

public class AbstractCallActivityBuilder<B extends AbstractCallActivityBuilder<B>>
extends AbstractActivityBuilder<B,CallActivity>

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 AbstractCallActivityBuilder(BpmnModelInstance modelInstance, CallActivity element, Class<?> selfType)
           
 
Method Summary
 B calledElement(String calledElement)
          Sets the called element
 B camundaAsync()
          Deprecated. use camundaAsyncBefore() instead. Sets the camunda async attribute to true.
 B camundaAsync(boolean isCamundaAsync)
          Deprecated. use camundaAsyncBefore(isCamundaAsyncBefore) instead Sets the camunda async attribute.
 B camundaCalledElementBinding(String camundaCalledElementBinding)
          Sets the camunda calledElementBinding attribute
 B camundaCalledElementTenantId(String camundaCalledElementTenantId)
          Sets the camunda calledElementTenantId attribute
 B camundaCalledElementVersion(String camundaCalledElementVersion)
          Sets the camunda calledElementVersion attribute
 B camundaCaseBinding(String camundaCaseBinding)
          Sets the camunda caseBinding attribute
 B camundaCaseRef(String caseRef)
          Sets the camunda caseRef attribute
 B camundaCaseTenantId(String tenantId)
          Sets the caseTenantId
 B camundaCaseVersion(String camundaCaseVersion)
          Sets the camunda caseVersion attribute
 B camundaIn(String source, String target)
          Sets a "camunda in" parameter to pass a variable from the super process instance to the sub process instance
 B camundaOut(String source, String target)
          Sets a "camunda out" parameter to pass a variable from a sub process instance to the super process instance
 B camundaVariableMappingClass(Class camundaVariableMappingClass)
          Sets the camunda variableMappingClass attribute.
 B camundaVariableMappingClass(String fullQualifiedClassName)
          Sets the camunda variableMappingClass attribute.
 B camundaVariableMappingDelegateExpression(String camundaVariableMappingDelegateExpression)
          Sets the camunda variableMappingDelegateExpression attribute.
 
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

AbstractCallActivityBuilder

protected AbstractCallActivityBuilder(BpmnModelInstance modelInstance,
                                      CallActivity element,
                                      Class<?> selfType)
Method Detail

calledElement

public B calledElement(String calledElement)
Sets the called element

Parameters:
calledElement - the process to call
Returns:
the builder object

camundaAsync

@Deprecated
public B camundaAsync()
Deprecated. use camundaAsyncBefore() instead. Sets the camunda async attribute to true.

Returns:
the builder object

camundaAsync

@Deprecated
public B camundaAsync(boolean isCamundaAsync)
Deprecated. use camundaAsyncBefore(isCamundaAsyncBefore) instead Sets the camunda async attribute.

Parameters:
isCamundaAsync - the async state of the task
Returns:
the builder object

camundaCalledElementBinding

public B camundaCalledElementBinding(String camundaCalledElementBinding)
Sets the camunda calledElementBinding attribute

Parameters:
camundaCalledElementBinding - the element binding to use
Returns:
the builder object

camundaCalledElementVersion

public B camundaCalledElementVersion(String camundaCalledElementVersion)
Sets the camunda calledElementVersion attribute

Parameters:
camundaCalledElementVersion - the element version to use
Returns:
the builder object

camundaCalledElementTenantId

public B camundaCalledElementTenantId(String camundaCalledElementTenantId)
Sets the camunda calledElementTenantId attribute

Parameters:
camundaCalledElementTenantId - the called element tenant id
Returns:
the builder object

camundaCaseRef

public B camundaCaseRef(String caseRef)
Sets the camunda caseRef attribute

Parameters:
caseRef - the case to call
Returns:
the builder object

camundaCaseBinding

public B camundaCaseBinding(String camundaCaseBinding)
Sets the camunda caseBinding attribute

Parameters:
camundaCaseBinding - the case binding to use
Returns:
the builder object

camundaCaseVersion

public B camundaCaseVersion(String camundaCaseVersion)
Sets the camunda caseVersion attribute

Parameters:
camundaCaseVersion - the case version to use
Returns:
the builder object

camundaCaseTenantId

public B camundaCaseTenantId(String tenantId)
Sets the caseTenantId

Parameters:
tenantId - the tenant id to set
Returns:
the builder object

camundaIn

public B camundaIn(String source,
                   String target)
Sets a "camunda in" parameter to pass a variable from the super process instance to the sub process instance

Parameters:
source - the name of variable in the super process instance
target - the name of the variable in the sub process instance
Returns:
the builder object

camundaOut

public B camundaOut(String source,
                    String target)
Sets a "camunda out" parameter to pass a variable from a sub process instance to the super process instance

Parameters:
source - the name of variable in the sub process instance
target - the name of the variable in the super process instance
Returns:
the builder object

camundaVariableMappingClass

public B camundaVariableMappingClass(Class camundaVariableMappingClass)
Sets the camunda variableMappingClass attribute. It references on a class which implements the DelegateVariableMapping interface. Is used to delegate the variable in- and output mapping to the given class.

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

camundaVariableMappingClass

public B camundaVariableMappingClass(String fullQualifiedClassName)
Sets the camunda variableMappingClass attribute. It references on a class which implements the DelegateVariableMapping interface. Is used to delegate the variable in- and output mapping to the given class.

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

camundaVariableMappingDelegateExpression

public B camundaVariableMappingDelegateExpression(String camundaVariableMappingDelegateExpression)
Sets the camunda variableMappingDelegateExpression attribute. The expression when is resolved references to an object of a class, which implements the DelegateVariableMapping interface. Is used to delegate the variable in- and output mapping to the given class.

Parameters:
camundaVariableMappingDelegateExpression - the expression which references a delegate object
Returns:
the builder object


Copyright © 2017 camunda services GmbH. All rights reserved.