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
Constructors Modifier Constructor Description protected
AbstractCallActivityBuilder(BpmnModelInstance modelInstance, CallActivity element, java.lang.Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description B
calledElement(java.lang.String calledElement)
Sets the called elementB
camundaAsync()
Deprecated.use camundaAsyncBefore() instead.B
camundaAsync(boolean isCamundaAsync)
Deprecated.use camundaAsyncBefore(isCamundaAsyncBefore) instead Sets the camunda async attribute.B
camundaCalledElementBinding(java.lang.String camundaCalledElementBinding)
Sets the camunda calledElementBinding attributeB
camundaCalledElementTenantId(java.lang.String camundaCalledElementTenantId)
Sets the camunda calledElementTenantId attributeB
camundaCalledElementVersion(java.lang.String camundaCalledElementVersion)
Sets the camunda calledElementVersion attributeB
camundaCalledElementVersionTag(java.lang.String camundaCalledElementVersionTag)
Sets the camunda calledElementVersionTag attributeB
camundaCaseBinding(java.lang.String camundaCaseBinding)
Sets the camunda caseBinding attributeB
camundaCaseRef(java.lang.String caseRef)
Sets the camunda caseRef attributeB
camundaCaseTenantId(java.lang.String tenantId)
Sets the caseTenantIdB
camundaCaseVersion(java.lang.String camundaCaseVersion)
Sets the camunda caseVersion attributeB
camundaIn(java.lang.String source, java.lang.String target)
Sets a "camunda in" parameter to pass a variable from the super process instance to the sub process instanceB
camundaInBusinessKey(java.lang.String businessKey)
Sets a "camunda in" parameter to pass a business key from the super process instance to the sub process instanceB
camundaOut(java.lang.String source, java.lang.String target)
Sets a "camunda out" parameter to pass a variable from a sub process instance to the super process instanceB
camundaVariableMappingClass(java.lang.Class camundaVariableMappingClass)
Sets the camunda variableMappingClass attribute.B
camundaVariableMappingClass(java.lang.String fullQualifiedClassName)
Sets the camunda variableMappingClass attribute.B
camundaVariableMappingDelegateExpression(java.lang.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 Detail
-
AbstractCallActivityBuilder
protected AbstractCallActivityBuilder(BpmnModelInstance modelInstance, CallActivity element, java.lang.Class<?> selfType)
-
-
Method Detail
-
calledElement
public B calledElement(java.lang.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(java.lang.String camundaCalledElementBinding)
Sets the camunda calledElementBinding attribute- Parameters:
camundaCalledElementBinding
- the element binding to use- Returns:
- the builder object
-
camundaCalledElementVersion
public B camundaCalledElementVersion(java.lang.String camundaCalledElementVersion)
Sets the camunda calledElementVersion attribute- Parameters:
camundaCalledElementVersion
- the element version to use- Returns:
- the builder object
-
camundaCalledElementVersionTag
public B camundaCalledElementVersionTag(java.lang.String camundaCalledElementVersionTag)
Sets the camunda calledElementVersionTag attribute- Parameters:
camundaCalledElementVersionTag
- the element version to use- Returns:
- the builder object
-
camundaCalledElementTenantId
public B camundaCalledElementTenantId(java.lang.String camundaCalledElementTenantId)
Sets the camunda calledElementTenantId attribute- Parameters:
camundaCalledElementTenantId
- the called element tenant id- Returns:
- the builder object
-
camundaCaseRef
public B camundaCaseRef(java.lang.String caseRef)
Sets the camunda caseRef attribute- Parameters:
caseRef
- the case to call- Returns:
- the builder object
-
camundaCaseBinding
public B camundaCaseBinding(java.lang.String camundaCaseBinding)
Sets the camunda caseBinding attribute- Parameters:
camundaCaseBinding
- the case binding to use- Returns:
- the builder object
-
camundaCaseVersion
public B camundaCaseVersion(java.lang.String camundaCaseVersion)
Sets the camunda caseVersion attribute- Parameters:
camundaCaseVersion
- the case version to use- Returns:
- the builder object
-
camundaCaseTenantId
public B camundaCaseTenantId(java.lang.String tenantId)
Sets the caseTenantId- Parameters:
tenantId
- the tenant id to set- Returns:
- the builder object
-
camundaInBusinessKey
public B camundaInBusinessKey(java.lang.String businessKey)
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
public B camundaIn(java.lang.String source, java.lang.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 instancetarget
- the name of the variable in the sub process instance- Returns:
- the builder object
-
camundaOut
public B camundaOut(java.lang.String source, java.lang.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 instancetarget
- the name of the variable in the super process instance- Returns:
- the builder object
-
camundaVariableMappingClass
public B camundaVariableMappingClass(java.lang.Class 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
public B camundaVariableMappingClass(java.lang.String fullQualifiedClassName)
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
public B camundaVariableMappingDelegateExpression(java.lang.String 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
-
-