Class AbstractSequenceFlowBuilder<B extends AbstractSequenceFlowBuilder<B>>

    • Constructor Detail

      • AbstractSequenceFlowBuilder

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

      • from

        public B from​(FlowNode source)
        Sets the source flow node of this sequence flow.
        Parameters:
        source - the source of this sequence flow
        Returns:
        the builder object
      • to

        public B to​(FlowNode target)
        Sets the target flow node of this sequence flow.
        Parameters:
        target - the target of this sequence flow
        Returns:
        the builder object
      • condition

        public B condition​(ConditionExpression conditionExpression)
        Sets the condition for this sequence flow.
        Parameters:
        conditionExpression - the condition expression for this sequence flow
        Returns:
        the builder object