public class DetailedBugReport extends AbstractFileReport
| Constructor and Description |
|---|
DetailedBugReport()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeReport()
Just closes the report by sending the report suffix.
|
void |
init(org.apache.commons.configuration.Configuration config)
Reads the configuration for the Bug Report.
|
void |
prepareReport()
Just opens the report by sending the report prefix.
|
void |
registerBug(Issue bug)
Registers a bug for the report.
|
getOutputFile, getOutputStreamgetBugzillaSession, getMaximumBugzillaVersion, getMinimumBugzillaVersion, setBugzillaSessionpublic void init(org.apache.commons.configuration.Configuration config)
throws org.apache.commons.configuration.ConfigurationException
<outputFile>D:/report.txt</outputFile> <templateFile>D:/template.txt</templateFile>
The template file follows the rules by Typo3 templates.
init in interface BugzillaReportGeneratorinit in class AbstractFileReportconfig - - the configuration objectorg.apache.commons.configuration.ConfigurationException - - when a configuration problem occursAbstractFileReport.init(org.apache.commons.configuration.Configuration)public void prepareReport()
prepareReport in interface BugzillaReportGeneratorprepareReport in class AbstractReportGeneratorpublic void closeReport()
public void registerBug(Issue bug)
bug - - the bug to collect data fromCopyright © 2012. All Rights Reserved.