接口的用途
com.google.adk.workflow.Route
Packages that use Route
-
**用途:** 路由(Route) 在……里面;处于……状态 com.google.adk.agents
Methods in com.google.adk.agents that return types with arguments of type RouteMethod parameters in com.google.adk.agents with type arguments of type Route -
**用途:** 路由(Route) 在……里面;处于……状态 com.google.adk.events
Methods in com.google.adk.events that return types with arguments of type RouteModifier and TypeMethodDescriptionEventActions.route()对于工作流中的一个节点,该方法会返回该事件所选择的路径;当某个边(edge)包含这些路径之一时,系统会沿着该边进行执行。Method parameters in com.google.adk.events with type arguments of type Route -
**用途:** 路由(Route) 在……里面;处于……状态 com.google.adk.workflow
Classes in com.google.adk.workflow that implement RouteModifier and TypeClassDescriptionstatic enum当节点的其他所有路由路径都无法匹配该节点发送的数据时(包括该节点根本没有发送任何数据的情况),系统会使用“备用路径”(即 fallback path)来进行数据传输。static final record一条由布尔值标识的路由,用于表示双向分支(即数据可以在两个方向上传输)。static final record由一个整数标识的路由。static final record一条路由通过字符串来标识,这是最常见的情况。Methods in com.google.adk.workflow that return types with arguments of type RouteModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<Route> Edge.routes()返回该值的值。routes“record component”(记录组件)。NodeExecutionState.selectedRoutes()返回所选节点对应的路由信息(这些路由信息决定了数据应通过哪些“输出边”进行传输);如果该节点未做出任何路由决策,则返回空值。Methods in com.google.adk.workflow with parameters of type RouteModifier and TypeMethodDescription将多个路由组合在一起(例如:Route.Num`s, for`EdgesBuilder.RouteMap.on(RouteSet).Method parameters in com.google.adk.workflow with type arguments of type RouteModifier and TypeMethodDescriptionvoidNodeExecutionState.selectRoutes(List<? extends Route> routes) 选择该节点的路由信息,同时会覆盖之前所做的任何路由选择。Constructors in com.google.adk.workflow with parameters of type RouteModifierConstructorDescription根据单一路由所选的数据创建一条边(即连接两个节点的线段)。Constructor parameters in com.google.adk.workflow with type arguments of type Route