Class ReportSettings

java.lang.Object
com.sun.javatest.report.ReportSettings

public class ReportSettings extends Object
Specify what parts of the reports to generate.
  • Constructor Details

    • ReportSettings

      public ReportSettings()
    • ReportSettings

      public ReportSettings(InterviewParameters interviewParameters)
    • ReportSettings

      public ReportSettings(File xmlReportFile, File... in)
      Creates a new ReportEnviroment instance refers to the given file.
  • Method Details

    • create

      public static ReportSettings create(Preferences prefs)
    • write

      public void write(Preferences prefs)
    • setFilter

      public void setFilter(TestFilter f)
    • setEnableHtmlReport

      public void setEnableHtmlReport(boolean state)
    • setEnableXmlReport

      public void setEnableXmlReport(boolean state)
    • setEnablePlainReport

      public void setEnablePlainReport(boolean state)
    • setEnableCOFReport

      public void setEnableCOFReport(boolean state)
    • setUseTestCases

      public void setUseTestCases(boolean state)
    • setShowConfigSection

      public void setShowConfigSection(boolean state)
    • setShowQuestionLog

      public void setShowQuestionLog(boolean state)
    • setShowEnvLog

      public void setShowEnvLog(boolean state)
    • setShowStdValues

      public void setShowStdValues(boolean state)
    • setShowResults

      public void setShowResults(boolean state)
    • setShowKflReport

      public void setShowKflReport(boolean state)
    • setShowKeywordSummary

      public void setShowKeywordSummary(boolean state)
    • setEnableHtmlStateFile

      public void setEnableHtmlStateFile(int status, boolean state)
      Parameters:
      status - PASS, FAIL, ERROR, NOT_RUN constant from Status
    • setHtmlMainReport

      public void setHtmlMainReport(boolean reporthtml, boolean indexhtml)
    • setEnableKflF2e

      public void setEnableKflF2e(boolean state)
    • setEnableKflF2f

      public void setEnableKflF2f(boolean state)
    • setEnableKflMissing

      public void setEnableKflMissing(boolean state)
    • setEnableKflTestCases

      public void setEnableKflTestCases(boolean state)
    • setEnableBackups

      public void setEnableBackups(boolean state)
    • setBackupLevels

      public void setBackupLevels(int n)
    • isHtmlEnabled

      public boolean isHtmlEnabled()
    • isXmlEnabled

      public boolean isXmlEnabled()
    • isPlainEnabled

      public boolean isPlainEnabled()
    • isCOFEnabled

      public boolean isCOFEnabled()
    • isCOFTestCasesEnabled

      public boolean isCOFTestCasesEnabled()
    • isConfigSectionEnabled

      public boolean isConfigSectionEnabled()
    • isQuestionLogEnabled

      public boolean isQuestionLogEnabled()
    • isEnvEnabled

      public boolean isEnvEnabled()
    • isStdEnabled

      public boolean isStdEnabled()
    • isResultsEnabled

      public boolean isResultsEnabled()
    • isKflEnabled

      public boolean isKflEnabled()
    • isKeywordSummaryEnabled

      public boolean isKeywordSummaryEnabled()
    • isIndexHtmlEnabled

      public boolean isIndexHtmlEnabled()
    • isReportHtmlEnabled

      public boolean isReportHtmlEnabled()
    • isStateFileEnabled

      public boolean isStateFileEnabled(int status)
    • isKflTestCasesEnabled

      public boolean isKflTestCasesEnabled()
    • isKflMissingEnabled

      public boolean isKflMissingEnabled()
    • isKflF2eEnabled

      public boolean isKflF2eEnabled()
    • isKflF2fEnabled

      public boolean isKflF2fEnabled()
    • isBackupsEnabled

      public boolean isBackupsEnabled()
    • getBackupLevel

      public int getBackupLevel()
    • getInitialFiles

      public File[] getInitialFiles()
    • getTestFilter

      public TestFilter getTestFilter()
    • getInterview

      public InterviewParameters getInterview()
    • setInterview

      public void setInterview(InterviewParameters p)
    • setXMLReportFile

      public void setXMLReportFile(File f)
    • getMergingFiles

      public File[] getMergingFiles()
      Returns array of File objects that were sources for Report Converter tool or empty array if Report Converter was not used.
      Returns:
      array of source files
    • setMergingFiles

      public void setMergingFiles(File... files)
    • getExchangeData

      public Map<?,?> getExchangeData()
      Give Map for data exchange between custom reports during the same report session. Can be used for sharing intermediate results between reports for optimization.
      Returns:
      Map for data exchange
    • getCustomReports

      public List<CustomReport> getCustomReports()
    • setCustomReports

      public void setCustomReports(List<CustomReport> customReportCollection)