public abstract class AbstractEmailReport extends AbstractReportGenerator
This class already implements default methods for most of
the interface's methods. So you usually just need to implement
BugzillaReportGenerator.closeReport().
| Constructor and Description |
|---|
AbstractEmailReport()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.apache.commons.configuration.Configuration config)
Configures the file report.
|
protected void |
sendEmail(javax.mail.internet.InternetAddress address,
String htmlBody) |
protected void |
sendEmail(javax.mail.internet.InternetAddress address,
String htmlBody,
String textBody) |
getBugzillaSession, getMaximumBugzillaVersion, getMinimumBugzillaVersion, prepareReport, setBugzillaSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseReport, registerBugpublic void init(org.apache.commons.configuration.Configuration config)
throws org.apache.commons.configuration.ConfigurationException
init in interface BugzillaReportGeneratorinit in class AbstractReportGeneratorconfig - - the configuration objectorg.apache.commons.configuration.ConfigurationException - - when a configuration problem occursprotected void sendEmail(javax.mail.internet.InternetAddress address,
String htmlBody)
throws Exception
ExceptionCopyright © 2012. All Rights Reserved.