Class SplitNode

All Implemented Interfaces:
WorkflowNode

public final class SplitNode extends AbstractWorkflowNode
A split. mode says how its ordered <flow>s are taken: one (the first match, or the default), some (every match, or the default) or all (every flow, no conditions). A one split's alternatives meet at an ordinary node; a some/ all split's branches meet at the one JoinNode naming it.
  • Constructor Details

    • SplitNode

      public SplitNode()
  • Method Details

    • type

      public String type()
      Description copied from interface: WorkflowNode
      The element name (start, script, ...), matching the @JsonSubTypes names. Not getType(), so bean scanning ignores it.
    • getMode

      public SplitMode getMode()
    • setMode

      public void setMode(SplitMode mode)
    • getItems

      public List<Flow> getItems()
    • setItems

      public void setItems(List<Flow> items)
    • getFlows

      public List<Flow> getFlows()
      The outgoing flows, in evaluation order, never null. Derived from items.