Package org.testng

Class ReporterConfig


  • public class ReporterConfig
    extends java.lang.Object
    Stores the information regarding the configuration of a pluggable report listener. Used also in conjunction with the <reporter> sub-element of the Ant task NOTE: this class needs to be public. It's used by TestNG Ant task
    • Field Detail

      • m_className

        private java.lang.String m_className
        The class name of the reporter listener
      • m_properties

        private final java.util.List<ReporterConfig.Property> m_properties
        The properties of the reporter listener
    • Constructor Detail

      • ReporterConfig

        public ReporterConfig()
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
      • setClassName

        public void setClassName​(java.lang.String className)
      • serialize

        public java.lang.String serialize()
      • deserialize

        public static ReporterConfig deserialize​(java.lang.String inputString)
      • newReporterInstance

        public IReporter newReporterInstance()
        Creates a reporter based on the current configuration
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object