Class StateWorkflow
java.lang.Object
com.example.workflows.StateWorkflow
A port of adk-python's
state workflow sample: nodes write session state through the
context and through an event, and read it back through the context. A Node implementation
gets only the context and its input, so read_state_via_param reads its key through the
context too.-
Method Summary
-
Method Details
-
create
Builds the workflow. It calls no model. -
main
Runs the workflow on one message and prints each node's state changes and output.
-