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 ReportSummary
public long getElapsedTime()
getElapsedTime
in interface ReportSummary
public PageSummary[] getPagesSummaries()
getPagesSummaries
in interface ReportSummary
public void removePageSummary(PageSummary summary)
removePageSummary
in interface ReportSummary
Copyright © 1998-2016 Apache Software Foundation. All Rights Reserved.