Class ExecutionResultInstrumentationContextAdapter

  • All Implemented Interfaces:
    InstrumentationContext<java.lang.Object>

    public class ExecutionResultInstrumentationContextAdapter
    extends java.lang.Object
    implements InstrumentationContext<java.lang.Object>
    A class to help adapt old ExecutionResult based InstrumentationContext from the newer Object based ones.
    • Method Detail

      • onCompleted

        public void onCompleted​(java.lang.Object result,
                                java.lang.Throwable t)
        Description copied from interface: InstrumentationContext
        This is invoked when the instrumentation step is fully completed
        Specified by:
        onCompleted in interface InstrumentationContext<java.lang.Object>
        Parameters:
        result - the result of the step (which may be null)
        t - this exception will be non null if an exception was thrown during the step