Package 

Class FailureLoggingDataBehaviorInterceptor

    • Method Summary

      Modifier and Type Method Description
      <T extends Any> T intercept(DataInteraction interaction, Function0<T> action) Wraps the given action invocation with the failure logging.
      • Methods inherited from class com.kaspersky.kaspresso.interceptors.behavior.BehaviorInterceptor

        equals, hashCode, toString
      • Methods inherited from class com.kaspersky.kaspresso.interceptors.behavior.impl.failure.FailureLoggingDataBehaviorInterceptor

        logDescriptionAndThrow, logStackTrace, withLoggingOnFailure
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FailureLoggingDataBehaviorInterceptor

        FailureLoggingDataBehaviorInterceptor(UiTestLogger logger)
    • Method Detail

      • intercept

         <T extends Any> T intercept(DataInteraction interaction, Function0<T> action)

        Wraps the given action invocation with the failure logging.

        Parameters:
        interaction - the intercepted DataInteraction.
        action - the action to invoke.