Class GuiceyConfigurationHookInterceptor

  • All Implemented Interfaces:
    org.spockframework.runtime.extension.IMethodInterceptor

    @Deprecated
    public class GuiceyConfigurationHookInterceptor
    extends org.spockframework.runtime.extension.AbstractMethodInterceptor
    Deprecated.
    additional hooks may be declared in static test fields
    Apply hooks according to spock lifecycle.
    Since:
    12.04.2018
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void interceptCleanupSpecMethod​(org.spockframework.runtime.extension.IMethodInvocation invocation)
      Deprecated.
       
      void interceptSharedInitializerMethod​(org.spockframework.runtime.extension.IMethodInvocation invocation)
      Deprecated.
       
      • Methods inherited from class org.spockframework.runtime.extension.AbstractMethodInterceptor

        intercept, interceptCleanupMethod, interceptDataProcessorMethod, interceptDataProviderMethod, interceptFeatureExecution, interceptFeatureMethod, interceptInitializerMethod, interceptIterationExecution, interceptSetupMethod, interceptSetupSpecMethod, interceptSpecExecution
      • Methods inherited from class java.lang.Object

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

      • GuiceyConfigurationHookInterceptor

        public GuiceyConfigurationHookInterceptor​(java.util.List<GuiceyConfigurationHook> hooks)
        Deprecated.
    • Method Detail

      • interceptSharedInitializerMethod

        public void interceptSharedInitializerMethod​(org.spockframework.runtime.extension.IMethodInvocation invocation)
                                              throws java.lang.Throwable
        Deprecated.
        Overrides:
        interceptSharedInitializerMethod in class org.spockframework.runtime.extension.AbstractMethodInterceptor
        Throws:
        java.lang.Throwable
      • interceptCleanupSpecMethod

        public void interceptCleanupSpecMethod​(org.spockframework.runtime.extension.IMethodInvocation invocation)
                                        throws java.lang.Throwable
        Deprecated.
        Overrides:
        interceptCleanupSpecMethod in class org.spockframework.runtime.extension.AbstractMethodInterceptor
        Throws:
        java.lang.Throwable