Package com.google.adk.workflow
Class Start
java.lang.Object
com.google.adk.workflow.Start
- All Implemented Interfaces:
Node
The node that marks where a workflow graph starts. It never runs: the workflow passes its own
input to the nodes that
Start has edges to.-
Field Summary
Fields -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.adk.workflow.Node
config, description, inputSchema, outputSchema, requiresAllPredecessors, rerunOnResume, stateSchema, waitForOutput
-
Field Details
-
INSTANCE
The start node that every graph uses.
-
-
Method Details
-
name
Description copied from interface:NodeReturns the name that identifies the node within its graph. -
runNode
Description copied from interface:NodeRuns the node onnodeInput, the output it receives from its predecessors.An emitted
Eventpasses through, an emittedRequestInputpauses the workflow until the user answers it, and any other emitted value becomes the node's output (at most one per run); emit nothing for no output, since RxJava forbids null. The wildcard lets an implementation return aFlowableof its own type.
-