public class BasicFileConfiguration
extends java.lang.Object
Constructor and Description |
---|
BasicFileConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getConfigMap() |
java.lang.String |
getCSS() |
java.lang.String |
getDocumentTitle() |
java.lang.String |
getEncoding() |
java.lang.String |
getExtentXUrl() |
java.lang.String |
getFilePath() |
java.lang.String |
getJS() |
java.util.List<Status> |
getLevel() |
java.lang.String |
getReportName() |
Theme |
getTheme() |
void |
setCSS(java.lang.String css)
Sets CSS to be used to customize the look and feel of your report
|
void |
setDocumentTitle(java.lang.String docTitle)
Sets the document title denoted by the
title tag |
void |
setEncoding(java.lang.String encoding)
Sets file encoding, eg: UTF-8
|
void |
setExtentXUrl(java.lang.String url)
Informs the file reporters of the ExtentX url, so the server can be accessed directly from
the report itself
|
void |
setFilePath(java.io.File file) |
void |
setFilePath(java.lang.String filePath)
Sets file-path of the report file
|
void |
setJS(java.lang.String js)
Adds custom JavaScript
|
void |
setLevel(Status... level) |
void |
setReportName(java.lang.String reportName) |
void |
setTheme(Theme theme)
Sets the
Theme of the report |
public void setFilePath(java.lang.String filePath)
filePath
- Path where the results file will be savedpublic void setFilePath(java.io.File file)
public java.lang.String getFilePath()
public Theme getTheme()
public void setEncoding(java.lang.String encoding)
encoding
- Encodingpublic java.lang.String getEncoding()
public void setDocumentTitle(java.lang.String docTitle)
title
tagdocTitle
- Titlepublic java.lang.String getDocumentTitle()
public void setCSS(java.lang.String css)
css
- CSSpublic java.lang.String getCSS()
public void setJS(java.lang.String js)
js
- JavaScriptpublic java.lang.String getJS()
public void setExtentXUrl(java.lang.String url)
url
- ExtentX urlpublic java.lang.String getExtentXUrl()
public java.util.Map<java.lang.String,java.lang.String> getConfigMap()
public void setLevel(Status... level)
public java.util.List<Status> getLevel()
public void setReportName(java.lang.String reportName)
public java.lang.String getReportName()