public class DefaultReportSummary extends Object implements ReportSummary
| Constructor and Description |
|---|
DefaultReportSummary() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPageSummary(PageSummary summary)
Add a PageSummary to the report
|
long |
getElapsedTime()
current implementation simply iterates over the Page summaries
and adds the times.
|
PageSummary[] |
getPagesSummaries()
The current implementation calls ArrayList.toArray(Object[])
|
void |
removePageSummary(PageSummary summary)
remove a PageSummary
|
public void addPageSummary(PageSummary summary)
addPageSummary in interface ReportSummarypublic long getElapsedTime()
getElapsedTime in interface ReportSummarypublic PageSummary[] getPagesSummaries()
getPagesSummaries in interface ReportSummarypublic void removePageSummary(PageSummary summary)
removePageSummary in interface ReportSummaryCopyright © 1998-2015 Apache Software Foundation. All Rights Reserved.