public class ExtentHtmlReporterConfiguration extends BasicFileConfiguration implements IReporterConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Status> |
levels |
protected java.lang.String |
reportName |
protected java.lang.String |
timeStampFormat |
protected java.util.Map<java.lang.String,java.lang.String> |
usedConfigs |
| Constructor and Description |
|---|
ExtentHtmlReporterConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getChartVisibilityOnOpen() |
java.util.Map<java.lang.String,java.lang.String> |
getConfigMap() |
java.util.List<Status> |
getLevel() |
Protocol |
getProtocol() |
java.lang.String |
getReportName() |
ResourceCDN |
getResourceCDN() |
ChartLocation |
getTestViewChartLocation() |
java.lang.String |
getTimeStampFormat()
Gets the timestamp format
|
void |
setChartVisibilityOnOpen(boolean chartVisibilityOnOpen)
For
ExtentHtmlReporter, sets the configuration to allow viewing or hiding charts on report open |
void |
setLevel(Status... level) |
void |
setProtocol(Protocol protocol)
Sets the protocol of accessing CSS/JS resources from CDN
|
void |
setReportName(java.lang.String reportName) |
void |
setResourceCDN(ResourceCDN cdn) |
void |
setTestViewChartLocation(ChartLocation chartLocation)
For
ExtentHtmlReporter, sets the location of charts |
void |
setTimeStampFormat(java.lang.String timeStampFormat)
Sets the timestamp format
|
getCSS, getDocumentTitle, getEncoding, getExtentXUrl, getFilePath, getJS, getTheme, setCSS, setDocumentTitle, setEncoding, setExtentXUrl, setFilePath, setFilePath, setJS, setThemeprotected java.util.List<Status> levels
protected java.lang.String reportName
protected java.lang.String timeStampFormat
protected java.util.Map<java.lang.String,java.lang.String> usedConfigs
public void setProtocol(Protocol protocol)
Default protocol value: HTTPS
protocol - Protocol, HTTPS or HTTPpublic Protocol getProtocol()
public void setTestViewChartLocation(ChartLocation chartLocation)
ExtentHtmlReporter, sets the location of chartschartLocation - Locationpublic ChartLocation getTestViewChartLocation()
public void setChartVisibilityOnOpen(boolean chartVisibilityOnOpen)
ExtentHtmlReporter, sets the configuration to allow viewing or hiding charts on report openchartVisibilityOnOpen - true to view charts on report open, false to hidepublic boolean getChartVisibilityOnOpen()
public void setResourceCDN(ResourceCDN cdn)
public ResourceCDN getResourceCDN()
public java.util.Map<java.lang.String,java.lang.String> getConfigMap()
public void setLevel(Status... level)
public java.util.List<Status> getLevel()
public java.lang.String getTimeStampFormat()
public void setTimeStampFormat(java.lang.String timeStampFormat)
timeStampFormat - The desired time stamp format
See http://freemarker.org/docs/ref_builtins_date.html#ref_builtin_string_for_datepublic void setReportName(java.lang.String reportName)
public java.lang.String getReportName()
Copyright © 2018. All Rights Reserved.