Class AbstractSequenceFlowBuilder<B extends AbstractSequenceFlowBuilder<B>>

Direct Known Subclasses:
SequenceFlowBuilder

public abstract class AbstractSequenceFlowBuilder<B extends AbstractSequenceFlowBuilder<B>> extends AbstractFlowElementBuilder<B,SequenceFlow>
Author:
Sebastian Menski
  • Constructor Details

  • Method Details

    • 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