public static final class SummaryProvider.LastSP extends java.lang.Object implements SummaryProvider
SummaryProvider.LastSPALL_TIMES, ALL_TIMES_SP, LAST_DAY, LAST_DAY_SP, LAST_HOUR, LAST_HOUR_SP, LAST_WEEK, LAST_WEEK_SP| Constructor and Description |
|---|
LastSP(java.lang.String name,
long last) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
The name of the summary provider.
|
java.lang.Number |
getSummary(StatisticReport report,
ReportProvider reportProvider)
Calculate summary for a statistic report optionally using the report provider if it want to merge periods.
|
public java.lang.String getName()
SummaryProvidergetName in interface SummaryProviderpublic java.lang.Number getSummary(StatisticReport report, ReportProvider reportProvider) throws ManagementException
SummaryProvidergetSummary in interface SummaryProviderreport - the report that needs summary.reportProvider - report provider used by the report.ManagementExceptionCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.