javaApiInterceptSubgraphExecutionStarting

Intercepts subgraph execution before it starts.

Parameters

feature

The feature associated with this handler.

handle

The handler that processes before-subgraph events.

Example:

pipeline.interceptSubgraphExecutionStarting(feature, eventContext -> {
logger.info("Subgraph " + eventContext.getSubgraph().getName()
+ " is about to execute with input: " + eventContext.getInput());
});