Class AbstractFlowNodeBuilder<B extends AbstractFlowNodeBuilder<B,​E>,​E extends FlowNode>

    • Field Detail

      • compensationStarted

        protected boolean compensationStarted
      • compensateBoundaryEvent

        protected BoundaryEvent compensateBoundaryEvent
    • Constructor Detail

      • AbstractFlowNodeBuilder

        protected AbstractFlowNodeBuilder​(BpmnModelInstance modelInstance,
                                          E element,
                                          java.lang.Class<?> selfType)
    • Method Detail

      • condition

        public B condition​(java.lang.String name,
                           java.lang.String condition)
      • connectTarget

        protected void connectTarget​(FlowNode target)
      • connectTargetWithSequenceFlow

        protected void connectTargetWithSequenceFlow​(FlowNode target)
      • connectTargetWithAssociation

        protected void connectTargetWithAssociation​(FlowNode target)
      • sequenceFlowId

        public B sequenceFlowId​(java.lang.String sequenceFlowId)
      • createTarget

        protected <T extends FlowNode> T createTarget​(java.lang.Class<T> typeClass,
                                                      java.lang.String identifier)
      • createTargetBuilder

        protected <T extends AbstractFlowNodeBuilder,​F extends FlowNode> T createTargetBuilder​(java.lang.Class<F> typeClass,
                                                                                                     java.lang.String id)
      • findLastGateway

        public Gateway findLastGateway()
      • camundaAsyncBefore

        public B camundaAsyncBefore​(boolean asyncBefore)
        Sets the Camunda AsyncBefore attribute for the build flow node.
        Parameters:
        asyncBefore - boolean value to set
        Returns:
        the builder object
      • camundaAsyncBefore

        public B camundaAsyncBefore()
        Sets the Camunda asyncBefore attribute to true.
        Returns:
        the builder object
      • camundaAsyncAfter

        public B camundaAsyncAfter​(boolean asyncAfter)
        Sets the Camunda asyncAfter attribute for the build flow node.
        Parameters:
        asyncAfter - boolean value to set
        Returns:
        the builder object
      • camundaAsyncAfter

        public B camundaAsyncAfter()
        Sets the Camunda asyncAfter attribute to true.
        Returns:
        the builder object
      • notCamundaExclusive

        public B notCamundaExclusive()
        Sets the Camunda exclusive attribute to true.
        Returns:
        the builder object
      • camundaExclusive

        public B camundaExclusive​(boolean exclusive)
        Sets the camunda exclusive attribute for the build flow node.
        Parameters:
        exclusive - boolean value to set
        Returns:
        the builder object
      • camundaJobPriority

        public B camundaJobPriority​(java.lang.String jobPriority)
      • camundaFailedJobRetryTimeCycle

        public B camundaFailedJobRetryTimeCycle​(java.lang.String retryTimeCycle)
        Sets the camunda failedJobRetryTimeCycle attribute for the build flow node.
        Parameters:
        retryTimeCycle - the retry time cycle value to set
        Returns:
        the builder object
      • camundaExecutionListenerClass

        public B camundaExecutionListenerClass​(java.lang.String eventName,
                                               java.lang.Class listenerClass)
      • camundaExecutionListenerClass

        public B camundaExecutionListenerClass​(java.lang.String eventName,
                                               java.lang.String fullQualifiedClassName)
      • camundaExecutionListenerExpression

        public B camundaExecutionListenerExpression​(java.lang.String eventName,
                                                    java.lang.String expression)
      • camundaExecutionListenerDelegateExpression

        public B camundaExecutionListenerDelegateExpression​(java.lang.String eventName,
                                                            java.lang.String delegateExpression)
      • compensationStart

        public B compensationStart()
      • isBoundaryEventWithStartedCompensation

        protected boolean isBoundaryEventWithStartedCompensation()
      • isCompensationHandler

        protected boolean isCompensationHandler()