Package org.testng
Class ReporterConfig
- java.lang.Object
-
- org.testng.ReporterConfig
-
public class ReporterConfig extends 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReporterConfig.Property
-
Constructor Summary
Constructors Constructor Description ReporterConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(ReporterConfig.Property property)static ReporterConfigdeserialize(String inputString)StringgetClassName()List<ReporterConfig.Property>getProperties()IReporternewReporterInstance()Creates a reporter based on the current configurationStringserialize()voidsetClassName(String className)StringtoString()
-
-
-
Method Detail
-
addProperty
public void addProperty(ReporterConfig.Property property)
-
getProperties
public List<ReporterConfig.Property> getProperties()
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
serialize
public String serialize()
-
deserialize
public static ReporterConfig deserialize(String inputString)
-
newReporterInstance
public IReporter newReporterInstance()
Creates a reporter based on the current configuration
-
-