Class SubflowNode

All Implemented Interfaces:
WorkflowNode

public final class SubflowNode extends AbstractCallNode
Runs the graph written inside it, in the caller's run: its nodes are its children. The graph has no identity of its own; it is deployed and revised with its caller, and a run parked inside stays on the caller's revision. Its <start> takes no trigger, only when as a per-element guard, and model checks the selected elements when written. It may not contain another subflow. Contrast CallNode.
  • Constructor Details

    • SubflowNode

      public SubflowNode()
  • 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.
    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • getJsonModel

      public String getJsonModel()
    • setJsonModel

      public void setJsonModel(String jsonModel)
    • getItems

      public List<WorkflowNode> getItems()
    • setItems

      public void setItems(List<WorkflowNode> items)
    • asWorkflow

      public Workflow asWorkflow()
      This node as a workflow, so the compiler and validator recurse into it; built on demand, never stored.