org.apache.jmeter.report.writers
Class DefaultReportSummary
java.lang.Object
org.apache.jmeter.report.writers.DefaultReportSummary
- All Implemented Interfaces:
- Cloneable, ReportSummary
- public class DefaultReportSummary
- extends Object
- implements ReportSummary
- Author:
- Peter Lin
The default implementation of ReportSummary just contains the stats
and basic information. It doesn't contain the actual report. In the
future we may want to implement a version with all the details to
display in a Swing GUI.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pages
protected ArrayList pages
DefaultReportSummary
public DefaultReportSummary()
addPageSummary
public void addPageSummary(PageSummary summary)
- Add a PageSummary to the report
- Specified by:
addPageSummary
in interface ReportSummary
- Parameters:
summary
-
getElapsedTime
public long getElapsedTime()
- current implementation simply iterates over the Page summaries
and adds the times.
- Specified by:
getElapsedTime
in interface ReportSummary
- Returns:
- elapsed time
getPagesSummaries
public PageSummary[] getPagesSummaries()
- The current implementation calls ArrayList.toArray(Object[])
- Specified by:
getPagesSummaries
in interface ReportSummary
- Returns:
- page summary array
removePageSummary
public void removePageSummary(PageSummary summary)
- remove a PageSummary
- Specified by:
removePageSummary
in interface ReportSummary
- Parameters:
summary
-
Copyright © 1998-2008 Apache Software Foundation. All Rights Reserved.