|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.Configuration
org.torweg.pulse.component.statistics.SendReportEmailJobletConfiguration
public class SendReportEmailJobletConfiguration
The Configuration of the SendReportEmailJoblet.
| Nested Class Summary | |
|---|---|
static class |
SendReportEmailJobletConfiguration.ReportEmailAddressConfiguration
Configures per email address: the StatisticsServers
the types of the reports per StatisticsServer
for the recipient. |
protected static class |
SendReportEmailJobletConfiguration.ReporterConfiguration
Maps the class name of a report controller IStatisticsPDFReportController to an identifier name. |
| Constructor Summary | |
|---|---|
protected |
SendReportEmailJobletConfiguration()
Deprecated. |
| Method Summary | |
|---|---|
boolean |
createReportOfTypeForServer(java.lang.String reportName, StatisticsServer server)
Returns whether to create the report with the given identifier name for the given StatisticsServer. |
Duration |
getDurationForReports(long timestamp)
Calculates the Duration for building the reports. |
Period |
getPeriodForCalculatingDuration()
Returns the Period which is to be used for calculating the
Duration for the data of the reports. |
java.util.Set<SendReportEmailJobletConfiguration.ReportEmailAddressConfiguration> |
getReportEmailAddressConfigurations()
Returns the ReportEmailAddressConfigurations. |
EmailConfiguration |
getReportEmailConfiguration()
Returns the report EmailConfiguration. |
java.util.Set<SendReportEmailJobletConfiguration.ReporterConfiguration> |
getReporterConfigurations()
Returns the ReporterConfigurations. |
XSLHandleConfiguration |
getReportPDFXsl()
Returns the report PDF XSLHandleConfiguration. |
| Methods inherited from class org.torweg.pulse.configuration.Configuration |
|---|
getBundle, isBundleConfiguration, isModified, setBundle, setConfigFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected SendReportEmailJobletConfiguration()
| Method Detail |
|---|
public final java.util.Set<SendReportEmailJobletConfiguration.ReporterConfiguration> getReporterConfigurations()
ReporterConfigurations.
ReporterConfigurationspublic final Period getPeriodForCalculatingDuration()
Period which is to be used for calculating the
Duration for the data of the reports.
public final java.util.Set<SendReportEmailJobletConfiguration.ReportEmailAddressConfiguration> getReportEmailAddressConfigurations()
ReportEmailAddressConfigurations.
ReportEmailAddressConfigurations.public final EmailConfiguration getReportEmailConfiguration()
EmailConfiguration.
PLEASE NOTE:
Do not configure any recipients via the recipients
configuration of the EmailConfiguration since these recipients
will be ignored.
Use ReportEmailAddressConfiguration:
<report-email-address-configurations>
...
</report-email-address-configurations>
for configuration of recipients instead.
EmailConfiguration, cleared of any recipients
which might be configuredpublic final XSLHandleConfiguration getReportPDFXsl()
XSLHandleConfiguration.
XSLHandleConfigurationpublic final Duration getDurationForReports(long timestamp)
Duration for building the reports.
Based on the given time stamp a Duration with the configured
Period will be calculated as follows:
Period for the given time
stamp and the configured periodForCalculatingDurationPeriod to the
previous duration using the configured
periodForCalculatingDuration
timestamp - the time stamp
Duration to be used for the reports.public final boolean createReportOfTypeForServer(java.lang.String reportName, StatisticsServer server)
StatisticsServer.
reportName - the identifier name of the report as in ReporterConfigurationserver - the StatisticsServer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||