Record Class Edge
java.lang.Object
java.lang.Record
com.google.adk.workflow.Edge
- Record Components:
from- The node whose completion fires this edge.to- The node this edge triggers.routes- The routes that select this edge. An empty list makes the edge unconditional.
-
构造函数概述
Constructors -
方法概述
Modifier and TypeMethodDescriptionfinal boolean用于表示另一个对象是否“等于”当前这个对象。from()返回该值的值。from“record component”(记录组件)。final inthashCode()返回该对象的哈希码值。boolean返回值true如果无论源节点发送何种路由信息,这条边(即数据传输路径)都会被触发(即数据传输会继续进行)。com.google.common.collect.ImmutableList<Route> routes()返回该值的值。routes“record component”(记录组件)。to()返回该值的值。to“record component”(记录组件)。final StringtoString()返回该记录类的字符串表示形式。
-
构造函数详细信息
-
Edge
-
Edge
-
Edge
-
-
方法详细信息(Method Details)
-
isUnconditional
public boolean isUnconditional()返回值true如果无论源节点发送何种路由信息,这条边(即数据传输路径)都会被触发(即数据传输会继续进行)。 -
toString
-
hashCode
-
equals
用于判断另一个对象是否“等于”当前对象。当另一个对象属于相同的类,并且所有记录组件都相同时,这两个对象才被认为是相等的。该记录类中的所有组件都会被逐一进行比较。Objects::equals(Object,Object). -
from
-
to
-
routes
-