Class AnnotationListener

  • All Implemented Interfaces:
    org.testng.IAnnotationTransformer, org.testng.ITestNGListener

    public class AnnotationListener
    extends java.lang.Object
    implements org.testng.IAnnotationTransformer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void transform​(org.testng.annotations.IConfigurationAnnotation annotation, java.lang.Class testClass, java.lang.reflect.Constructor testConstructor, java.lang.reflect.Method testMethod)  
      void transform​(org.testng.annotations.ITestAnnotation annotation, java.lang.Class testClass, java.lang.reflect.Constructor testConstructor, java.lang.reflect.Method testMethod)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.testng.IAnnotationTransformer

        transform, transform, transform
    • Constructor Detail

      • AnnotationListener

        public AnnotationListener()
    • Method Detail

      • transform

        public void transform​(org.testng.annotations.ITestAnnotation annotation,
                              java.lang.Class testClass,
                              java.lang.reflect.Constructor testConstructor,
                              java.lang.reflect.Method testMethod)
        Specified by:
        transform in interface org.testng.IAnnotationTransformer
      • transform

        public void transform​(org.testng.annotations.IConfigurationAnnotation annotation,
                              java.lang.Class testClass,
                              java.lang.reflect.Constructor testConstructor,
                              java.lang.reflect.Method testMethod)
        Specified by:
        transform in interface org.testng.IAnnotationTransformer