com.sun.javatest.report
Class Report.Settings

java.lang.Object
  extended by com.sun.javatest.report.Report.Settings
Enclosing class:
Report

public static class Report.Settings
extends java.lang.Object

Specify what parts of the reports to generate.


Constructor Summary
Report.Settings()
           
Report.Settings(InterviewParameters p)
           
 
Method Summary
static Report.Settings create(Preferences prefs)
           
 int getBackupLevel()
           
 java.io.File[] getInitialFiles()
           
 InterviewParameters getInterview()
           
 TestFilter getTestFilter()
           
 boolean isBackupsEnabled()
           
 boolean isConfigSectionEnabled()
           
 boolean isEnvEnabled()
           
 boolean isHtmlEnabled()
           
 boolean isIndexHtmlEnabled()
           
 boolean isKeywordSummaryEnabled()
           
 boolean isPlainEnabled()
           
 boolean isQuestionLogEnabled()
           
 boolean isReportHtmlEnabled()
           
 boolean isResultsEnabled()
           
 boolean isStateFileEnabled(int status)
           
 boolean isStdEnabled()
           
 boolean isXmlEnabled()
           
 void setBackupLevels(int n)
           
 void setEnableBackups(boolean state)
           
 void setEnableHtmlReport(boolean state)
           
 void setEnableHtmlStateFile(int status, 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 setShowConfigSection(boolean state)
           
 void setShowEnvLog(boolean state)
           
 void setShowKeywordSummary(boolean state)
           
 void setShowQuestionLog(boolean state)
           
 void setShowResults(boolean state)
           
 void setShowStdValues(boolean state)
           
 void write(Preferences prefs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Report.Settings

public Report.Settings()

Report.Settings

public Report.Settings(InterviewParameters p)
Method Detail

write

public void write(Preferences prefs)

create

public static Report.Settings create(Preferences prefs)

setInterview

public void setInterview(InterviewParameters p)

setFilter

public void setFilter(TestFilter f)

setEnableHtmlReport

public void setEnableHtmlReport(boolean state)

setEnableXmlReport

public void setEnableXmlReport(boolean state)

setEnablePlainReport

public void setEnablePlainReport(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)

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)

setEnableBackups

public void setEnableBackups(boolean state)

setBackupLevels

public void setBackupLevels(int n)

isHtmlEnabled

public boolean isHtmlEnabled()

isXmlEnabled

public boolean isXmlEnabled()

isPlainEnabled

public boolean isPlainEnabled()

isConfigSectionEnabled

public boolean isConfigSectionEnabled()

isQuestionLogEnabled

public boolean isQuestionLogEnabled()

isEnvEnabled

public boolean isEnvEnabled()

isStdEnabled

public boolean isStdEnabled()

isResultsEnabled

public boolean isResultsEnabled()

isKeywordSummaryEnabled

public boolean isKeywordSummaryEnabled()

isIndexHtmlEnabled

public boolean isIndexHtmlEnabled()

isReportHtmlEnabled

public boolean isReportHtmlEnabled()

isStateFileEnabled

public boolean isStateFileEnabled(int status)

isBackupsEnabled

public boolean isBackupsEnabled()

getBackupLevel

public int getBackupLevel()

getInitialFiles

public java.io.File[] getInitialFiles()

getTestFilter

public TestFilter getTestFilter()

getInterview

public InterviewParameters getInterview()


Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.