Class QtafBeforeMethodMethodInterceptorBuilder

java.lang.Object
de.qytera.qtaf.core.guice.method_interceptor.builder.QtafBeforeMethodMethodInterceptorBuilder
All Implemented Interfaces:
QtafMethodInterceptor

public class QtafBeforeMethodMethodInterceptorBuilder extends Object implements QtafMethodInterceptor
TestNG BeforeMethod method interceptor. Bind to all methods that are annotated with the @BeforeTest annotation.
  • Constructor Details

    • QtafBeforeMethodMethodInterceptorBuilder

      public QtafBeforeMethodMethodInterceptorBuilder()
  • Method Details

    • getClassMatcher

      public com.google.inject.matcher.Matcher<? super Class<?>> getClassMatcher()
      Description copied from interface: QtafMethodInterceptor
      Get a matcher that describes which classes should be intercepted.
      Specified by:
      getClassMatcher in interface QtafMethodInterceptor
      Returns:
      class matcher
    • getMethodMatcher

      public com.google.inject.matcher.Matcher<? super Method> getMethodMatcher()
      Description copied from interface: QtafMethodInterceptor
      Get a matcher that describes which methods should be intercepted.
      Specified by:
      getMethodMatcher in interface QtafMethodInterceptor
      Returns:
      method matcher
    • getMethodInterceptor

      public org.aopalliance.intercept.MethodInterceptor getMethodInterceptor()
      Description copied from interface: QtafMethodInterceptor
      Get an instance of MethodInterceptor that contains the logic for intercepting methods.
      Specified by:
      getMethodInterceptor in interface QtafMethodInterceptor
      Returns:
      MethodInterceptor object