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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Node
config, description, inputSchema, outputSchema, requiresAllPredecessors, rerunOnResume, stateSchema, waitForOutputModifier and TypeMethodDescriptiondefault NodeConfigconfig()Returns the node's retry policy and execution timeout.default StringReturns what the node does, for humans and for a model that may call it.default Optional<com.google.genai.types.Schema> Returns the schema the node's input must match.default Optional<com.google.genai.types.Schema> Returns the schema that the node's output value must match.default booleanReturnstrueif the node runs only once every predecessor has completed, receiving all their outputs keyed by node name, as a fan-in node does.default booleanReturnstrueif a resumed node runs again from scratch, rather than completing with the resuming answer as its output.default Optional<com.google.genai.types.Schema> Returns the schema declaring the state keys the node uses.default booleanReturnstrueif the node stays re-triggerable until it produces an output or a route, instead of completing when its run completes.
-
Field Details
-
INSTANCE
The start node that every graph uses.
-
-
Method Details
-
name
-
runNode
Description copied from interface:NodeRuns the node onnodeInput, the output it receives from its predecessors.An emitted
Eventpasses through, 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.
-