FunctionNodes
Creates FunctionNodes from Java with a type per port. Jackson reads each input into the input type and writes each output as JSON, so records and POJOs work as ports; Object.class leaves a port untyped, a Content or Event port passes values as they are, and a port typed this way infers no schema. To run a node on each item of a list, wrap it with FunctionNode.parallelOf.
Functions
Like builder with classes, for generic port types such as List<String>.
Like builder with classes, for a generic input type.
Like builder with classes, for a generic output type.
Returns a FunctionNode.Builder whose node reads inputs as inputType and writes outputType outputs as JSON, for setting properties that of does not take.
Like of with classes, for generic port types such as List<String>.
Like of with classes, for a generic input type.
Like of with classes, for a generic output type.
Returns a node named name that runs body on each input read as inputType and writes its outputType output as JSON.
Asks the user for input like NodeBody.requestInput, and sends payload as JSON through the same mapper as typed ports, so a record or POJO reaches the client in its JSON form.