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 class
ReporterConfig.Property
-
Constructor Summary
Constructors Constructor Description ReporterConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(ReporterConfig.Property property)
static ReporterConfig
deserialize(String inputString)
String
getClassName()
List<ReporterConfig.Property>
getProperties()
IReporter
newReporterInstance()
Creates a reporter based on the current configurationString
serialize()
void
setClassName(String className)
String
toString()
-
-
-
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
-
-