Uses of Interface
com.google.adk.workflow.NodeBody
Packages that use NodeBody
-
Uses of NodeBody in com.google.adk.workflow
Methods in com.google.adk.workflow with parameters of type NodeBodyModifier and TypeMethodDescriptionSets the function the node runs on each input.static <I,O> FunctionNode <I, O> FunctionNodes.of(String name, com.fasterxml.jackson.core.type.TypeReference<I> inputType, com.fasterxml.jackson.core.type.TypeReference<O> outputType, NodeBody<? super I, ? extends O> body) LikeFunctionNodes.of(String, Class, Class, NodeBody), for generic port types.static <I,O> FunctionNode <I, O> FunctionNodes.of(String name, com.fasterxml.jackson.core.type.TypeReference<I> inputType, Class<O> outputType, NodeBody<? super I, ? extends O> body) LikeFunctionNodes.of(String, Class, Class, NodeBody), for a generic input type.static <I,O> FunctionNode <I, O> FunctionNodes.of(String name, Class<I> inputType, com.fasterxml.jackson.core.type.TypeReference<O> outputType, NodeBody<? super I, ? extends O> body) LikeFunctionNodes.of(String, Class, Class, NodeBody), for a generic output type.static <I,O> FunctionNode <I, O> FunctionNodes.of(String name, Class<I> inputType, Class<O> outputType, NodeBody<? super I, ? extends O> body) Returns a node namednamethat runsbodyon each input read asinputTypeand writes itsoutputTypeoutput in JSON form.