Class NodeInfo
java.lang.Object
com.google.adk.workflow.NodeInfo
The identity of the workflow-node activation that emitted an
Event.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeInfo.Builderbuilder()abstract booleanReturnstrueif this event's content is the node's output, so no separate output event follows.abstract com.google.common.collect.ImmutableList<String> Returns the node paths this event's output counts for: the emitting node's path, followed by the paths of the ancestor workflows that use this event as their output.abstract Stringpath()Returns the emitting node's path.abstract NodeInfo.Builder
-
Constructor Details
-
NodeInfo
public NodeInfo()
-
-
Method Details
-
path
Returns the emitting node's path. Segments are/-separated and each isname@runId, so a node of workflowwfreadswf@1/a@1; an empty path means the event did not come from a workflow node. -
outputFor
Returns the node paths this event's output counts for: the emitting node's path, followed by the paths of the ancestor workflows that use this event as their output. It is set on an event that carries the node's output, either in itsoutputfield or as a message-as-output event whose content is the output; an empty list means the output counts for no node. -
messageAsOutput
public abstract boolean messageAsOutput()Returnstrueif this event's content is the node's output, so no separate output event follows. -
builder
-
toBuilder
-