org.apache.jmeter.report.writers

Class DefaultReportSummary

Implemented Interfaces:
Cloneable, ReportSummary

public class DefaultReportSummary
extends Object
implements ReportSummary

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.

Field Summary

protected ArrayList
pages

Constructor Summary

DefaultReportSummary()

Method Summary

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

Field Details

pages

protected ArrayList pages

Constructor Details

DefaultReportSummary

public DefaultReportSummary()

Method Details

addPageSummary

public void addPageSummary(PageSummary summary)
Add a PageSummary to the report
Specified by:
addPageSummary in interface ReportSummary

getElapsedTime

public long getElapsedTime()
current implementation simply iterates over the Page summaries and adds the times.
Specified by:
getElapsedTime in interface ReportSummary

getPagesSummaries

public PageSummary[] getPagesSummaries()
The current implementation calls ArrayList.toArray(Object[])
Specified by:
getPagesSummaries in interface ReportSummary

removePageSummary

public void removePageSummary(PageSummary summary)
remove a PageSummary
Specified by:
removePageSummary in interface ReportSummary

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.