public class ReportSettings
extends java.lang.Object
Constructor and Description |
---|
ReportSettings() |
ReportSettings(java.io.File xmlReportFile,
java.io.File[] in)
Creates a new ReportEnviroment instance refers to the given file.
|
ReportSettings(InterviewParameters p) |
Modifier and Type | Method and Description |
---|---|
static ReportSettings |
create(Preferences prefs) |
int |
getBackupLevel() |
java.util.List<CustomReport> |
getCustomReports() |
java.util.Map |
getExchangeData()
Give Map for data exchange between custom reports during the same report
session.
|
java.io.File[] |
getInitialFiles() |
InterviewParameters |
getInterview() |
java.io.File[] |
getMergingFiles()
Returns array of File objects that were sources for Report Converter tool
or empty array if Report Converter was not used.
|
TestFilter |
getTestFilter() |
boolean |
isBackupsEnabled() |
boolean |
isCOFEnabled() |
boolean |
isCOFTestCasesEnabled() |
boolean |
isConfigSectionEnabled() |
boolean |
isEnvEnabled() |
boolean |
isHtmlEnabled() |
boolean |
isIndexHtmlEnabled() |
boolean |
isKeywordSummaryEnabled() |
boolean |
isKflEnabled() |
boolean |
isKflF2eEnabled() |
boolean |
isKflF2fEnabled() |
boolean |
isKflMissingEnabled() |
boolean |
isKflTestCasesEnabled() |
boolean |
isPlainEnabled() |
boolean |
isQuestionLogEnabled() |
boolean |
isReportHtmlEnabled() |
boolean |
isResultsEnabled() |
boolean |
isStateFileEnabled(int status) |
boolean |
isStdEnabled() |
boolean |
isXmlEnabled() |
void |
setBackupLevels(int n) |
void |
setCustomReports(java.util.List<CustomReport> customReportCollection) |
void |
setEnableBackups(boolean state) |
void |
setEnableCOFReport(boolean state) |
void |
setEnableHtmlReport(boolean state) |
void |
setEnableHtmlStateFile(int status,
boolean state) |
void |
setEnableKflF2e(boolean state) |
void |
setEnableKflF2f(boolean state) |
void |
setEnableKflMissing(boolean state) |
void |
setEnableKflTestCases(boolean state) |
void |
setEnablePlainReport(boolean state) |
void |
setEnableXmlReport(boolean state) |
void |
setFilter(TestFilter f) |
void |
setHtmlMainReport(boolean reporthtml,
boolean indexhtml) |
void |
setInterview(InterviewParameters p) |
void |
setMergingFiles(java.io.File[] files) |
void |
setShowConfigSection(boolean state) |
void |
setShowEnvLog(boolean state) |
void |
setShowKeywordSummary(boolean state) |
void |
setShowKflReport(boolean state) |
void |
setShowQuestionLog(boolean state) |
void |
setShowResults(boolean state) |
void |
setShowStdValues(boolean state) |
void |
setUseTestCases(boolean state) |
void |
setXMLReportFile(java.io.File f) |
void |
write(Preferences prefs) |
public ReportSettings()
public ReportSettings(InterviewParameters p)
public ReportSettings(java.io.File xmlReportFile, java.io.File[] in)
public void write(Preferences prefs)
public static ReportSettings create(Preferences prefs)
public void setInterview(InterviewParameters p)
public void setFilter(TestFilter f)
public void setEnableHtmlReport(boolean state)
public void setEnableXmlReport(boolean state)
public void setEnablePlainReport(boolean state)
public void setEnableCOFReport(boolean state)
public void setUseTestCases(boolean state)
public void setShowConfigSection(boolean state)
public void setShowQuestionLog(boolean state)
public void setShowEnvLog(boolean state)
public void setShowStdValues(boolean state)
public void setShowResults(boolean state)
public void setShowKflReport(boolean state)
public void setShowKeywordSummary(boolean state)
public void setEnableHtmlStateFile(int status, boolean state)
status
- PASS, FAIL, ERROR, NOT_RUN constant from Statuspublic void setHtmlMainReport(boolean reporthtml, boolean indexhtml)
public void setEnableKflF2e(boolean state)
public void setEnableKflF2f(boolean state)
public void setEnableKflMissing(boolean state)
public void setEnableKflTestCases(boolean state)
public void setEnableBackups(boolean state)
public void setBackupLevels(int n)
public boolean isHtmlEnabled()
public boolean isXmlEnabled()
public boolean isPlainEnabled()
public boolean isCOFEnabled()
public boolean isCOFTestCasesEnabled()
public boolean isConfigSectionEnabled()
public boolean isQuestionLogEnabled()
public boolean isEnvEnabled()
public boolean isStdEnabled()
public boolean isResultsEnabled()
public boolean isKflEnabled()
public boolean isKeywordSummaryEnabled()
public boolean isIndexHtmlEnabled()
public boolean isReportHtmlEnabled()
public boolean isStateFileEnabled(int status)
public boolean isKflTestCasesEnabled()
public boolean isKflMissingEnabled()
public boolean isKflF2eEnabled()
public boolean isKflF2fEnabled()
public boolean isBackupsEnabled()
public int getBackupLevel()
public java.io.File[] getInitialFiles()
public TestFilter getTestFilter()
public InterviewParameters getInterview()
public void setXMLReportFile(java.io.File f)
public void setMergingFiles(java.io.File[] files)
public java.io.File[] getMergingFiles()
public java.util.Map getExchangeData()
public void setCustomReports(java.util.List<CustomReport> customReportCollection)
public java.util.List<CustomReport> getCustomReports()
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.