Class QtafAfterTestMethodInterceptorBuilder
java.lang.Object
de.qytera.qtaf.core.guice.method_interceptor.builder.QtafAfterTestMethodInterceptorBuilder
- All Implemented Interfaces:
QtafMethodInterceptor
TestNG AfterTest method interceptor.
Bind to all methods that are annotated with the @AfterTest annotation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.inject.matcher.Matcher<? super Class<?>>Get a matcher that describes which classes should be intercepted.org.aopalliance.intercept.MethodInterceptorGet an instance of MethodInterceptor that contains the logic for intercepting methods.com.google.inject.matcher.Matcher<? super Method>Get a matcher that describes which methods should be intercepted.
-
Constructor Details
-
QtafAfterTestMethodInterceptorBuilder
public QtafAfterTestMethodInterceptorBuilder()
-
-
Method Details
-
getClassMatcher
Description copied from interface:QtafMethodInterceptorGet a matcher that describes which classes should be intercepted.- Specified by:
getClassMatcherin interfaceQtafMethodInterceptor- Returns:
- class matcher
-
getMethodMatcher
Description copied from interface:QtafMethodInterceptorGet a matcher that describes which methods should be intercepted.- Specified by:
getMethodMatcherin interfaceQtafMethodInterceptor- Returns:
- method matcher
-
getMethodInterceptor
public org.aopalliance.intercept.MethodInterceptor getMethodInterceptor()Description copied from interface:QtafMethodInterceptorGet an instance of MethodInterceptor that contains the logic for intercepting methods.- Specified by:
getMethodInterceptorin interfaceQtafMethodInterceptor- Returns:
- MethodInterceptor object
-