Class EdgesBuilder.RouteMapEntry

java.lang.Object
com.google.adk.workflow.EdgesBuilder.RouteMapEntry
Enclosing class:
EdgesBuilder

@Experimental public static final class EdgesBuilder.RouteMapEntry extends Object
A routing-map entry started by EdgesBuilder.RouteMap.on(java.lang.String) whose routes have no target yet; then(com.google.adk.workflow.Node, com.google.adk.workflow.Node...) completes it.
  • Method Details

    • then

      public void then(Node first, Node... rest)
      Leads to first and each node in rest, with one edge to each, when the source node emits any of this entry's routes.