javaApiInterceptNodeExecutionCompleted
fun javaApiInterceptNodeExecutionCompleted(feature: AIAgentGraphFeature<*, *>, handle: Interceptor<NodeExecutionCompletedContext>)(source)
Intercepts node execution after it is successfully completed.
Parameters
feature
The feature associated with this handler.
handle
The handler that processes after-node completion events.
Example:
pipeline.interceptNodeExecutionCompleted(feature, eventContext -> {
logger.info("Node " + eventContext.getNode().getName()
+ " completed with output: " + eventContext.getOutput());
});Content copied to clipboard