Class AbstractCallActivityBuilder<B extends AbstractCallActivityBuilder<B>>

    • 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 instance
        target - 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 instance
        target - 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 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​(java.lang.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​(java.lang.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