Package com.google.adk.workflow
Class JoinNode
java.lang.Object
com.google.adk.workflow.BaseNode
com.google.adk.workflow.JoinNode
- All Implemented Interfaces:
Node
A node that waits for every predecessor to complete, then outputs their outputs keyed by
predecessor name. Route each predecessor into the join every time it completes: one that routes
elsewhere still counts as complete, and if it completes last, the join never runs.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic JoinNode.Builderbuilder()booleanReturnstrueif the node runs only once every predecessor has completed, receiving all their outputs keyed by node name, as a fan-in node does.io.reactivex.rxjava3.core.Flowable<?>Outputs its input unchanged, or nothing when the input is null.Methods inherited from class com.google.adk.workflow.BaseNode
config, description, inputSchema, name, outputSchema, rerunOnResume, stateSchema, waitForOutput
-
Method Details
-
builder
-
requiresAllPredecessors
public boolean requiresAllPredecessors()Description copied from interface:NodeReturnstrueif the node runs only once every predecessor has completed, receiving all their outputs keyed by node name, as a fan-in node does. -
runNode
Outputs its input unchanged, or nothing when the input is null.
-