invokeHook

open fun invokeHook(data: SharedPipelineData, input: I, output: O)

Invokes the hook function for this stage, if one is defined.

This method is called after the stage's process method completes. It invokes the hook function with the pipeline's hooks and the output of the stage.

The hook is invoked for both the pipeline's hooks and the hooks of all registered libraries.

Parameters

data

shared data that is passed between pipeline stages

input

the input that was processed

output

the output that was produced