Class AbstractCallActivityBuilder<B extends AbstractCallActivityBuilder<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,CallActivity>
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
ModifierConstructorDescriptionprotected
AbstractCallActivityBuilder
(BpmnModelInstance modelInstance, CallActivity element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptioncalledElement
(String calledElement) Sets the called elementDeprecated.use camundaAsyncBefore() instead.camundaAsync
(boolean isCamundaAsync) Deprecated.use camundaAsyncBefore(isCamundaAsyncBefore) instead Sets the camunda async attribute.camundaCalledElementBinding
(String camundaCalledElementBinding) Sets the camunda calledElementBinding attributecamundaCalledElementTenantId
(String camundaCalledElementTenantId) Sets the camunda calledElementTenantId attributecamundaCalledElementVersion
(String camundaCalledElementVersion) Sets the camunda calledElementVersion attributecamundaCalledElementVersionTag
(String camundaCalledElementVersionTag) Sets the camunda calledElementVersionTag attributecamundaCaseBinding
(String camundaCaseBinding) Sets the camunda caseBinding attributecamundaCaseRef
(String caseRef) Sets the camunda caseRef attributecamundaCaseTenantId
(String tenantId) Sets the caseTenantIdcamundaCaseVersion
(String camundaCaseVersion) Sets the camunda caseVersion attributeSets a "camunda in" parameter to pass a variable from the super process instance to the sub process instancecamundaInBusinessKey
(String businessKey) Sets a "camunda in" parameter to pass a business key from the super process instance to the sub process instancecamundaOut
(String source, String target) Sets a "camunda out" parameter to pass a variable from a sub process instance to the super process instancecamundaVariableMappingClass
(Class camundaVariableMappingClass) Sets the camunda variableMappingClass attribute.camundaVariableMappingClass
(String fullQualifiedClassName) Sets the camunda variableMappingClass attribute.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, 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 Details
-
AbstractCallActivityBuilder
protected AbstractCallActivityBuilder(BpmnModelInstance modelInstance, CallActivity element, Class<?> selfType)
-
-
Method Details
-
calledElement
Sets the called element- Parameters:
calledElement
- the process to call- Returns:
- the builder object
-
camundaAsync
Deprecated.use camundaAsyncBefore() instead. Sets the camunda async attribute to true.- Returns:
- the builder object
-
camundaAsync
Deprecated.use camundaAsyncBefore(isCamundaAsyncBefore) instead Sets the camunda async attribute.- Parameters:
isCamundaAsync
- the async state of the task- Returns:
- the builder object
-
camundaCalledElementBinding
Sets the camunda calledElementBinding attribute- Parameters:
camundaCalledElementBinding
- the element binding to use- Returns:
- the builder object
-
camundaCalledElementVersion
Sets the camunda calledElementVersion attribute- Parameters:
camundaCalledElementVersion
- the element version to use- Returns:
- the builder object
-
camundaCalledElementVersionTag
Sets the camunda calledElementVersionTag attribute- Parameters:
camundaCalledElementVersionTag
- the element version to use- Returns:
- the builder object
-
camundaCalledElementTenantId
Sets the camunda calledElementTenantId attribute- Parameters:
camundaCalledElementTenantId
- the called element tenant id- Returns:
- the builder object
-
camundaCaseRef
Sets the camunda caseRef attribute- Parameters:
caseRef
- the case to call- Returns:
- the builder object
-
camundaCaseBinding
Sets the camunda caseBinding attribute- Parameters:
camundaCaseBinding
- the case binding to use- Returns:
- the builder object
-
camundaCaseVersion
Sets the camunda caseVersion attribute- Parameters:
camundaCaseVersion
- the case version to use- Returns:
- the builder object
-
camundaCaseTenantId
Sets the caseTenantId- Parameters:
tenantId
- the tenant id to set- Returns:
- the builder object
-
camundaInBusinessKey
Sets a "camunda in" parameter to pass a business key from the super process instance to the sub process instance- Parameters:
businessKey
- the business key to set- Returns:
- the builder object
-
camundaIn
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 instancetarget
- the name of the variable in the sub process instance- Returns:
- the builder object
-
camundaOut
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 instancetarget
- the name of the variable in the super process instance- Returns:
- the builder object
-
camundaVariableMappingClass
Sets the camunda variableMappingClass attribute. It references on a class which implements theDelegateVariableMapping
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
Sets the camunda variableMappingClass attribute. It references on a class which implements theDelegateVariableMapping
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
Sets the camunda variableMappingDelegateExpression attribute. The expression when is resolved references to an object of a class, which implements theDelegateVariableMapping
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
-