hudson.plugins.performance
Class PerformanceReport

java.lang.Object
  extended by hudson.plugins.performance.AbstractReport
      extended by hudson.plugins.performance.PerformanceReport
All Implemented Interfaces:
java.lang.Comparable<PerformanceReport>

public class PerformanceReport
extends AbstractReport
implements java.lang.Comparable<PerformanceReport>

Represents a single performance report, which consists of multiple UriReports for different URLs that was tested. This object belongs under PerformanceReportMap.


Constructor Summary
PerformanceReport()
           
 
Method Summary
 void addSample(HttpSample pHttpSample)
           
 int compareTo(PerformanceReport jmReport)
           
 int countErrors()
           
 double errorPercent()
           
 long getAverage()
           
 hudson.model.AbstractBuild<?,?> getBuild()
           
 java.lang.String getDisplayName()
           
 UriReport getDynamic(java.lang.String token)
           
 HttpSample getHttpSample()
           
 long getMax()
           
 long getMin()
           
 java.lang.String getReportFileName()
           
 java.util.List<UriReport> getUriListOrdered()
           
 java.util.Map<java.lang.String,UriReport> getUriReportMap()
           
 void setHttpSample(HttpSample httpSample)
           
 void setReportFileName(java.lang.String reportFileName)
           
 int size()
           
 
Methods inherited from class hudson.plugins.performance.AbstractReport
errorPercentFormated, getAverageFormated, getMaxFormated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceReport

public PerformanceReport()
Method Detail

addSample

public void addSample(HttpSample pHttpSample)
               throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

compareTo

public int compareTo(PerformanceReport jmReport)
Specified by:
compareTo in interface java.lang.Comparable<PerformanceReport>

countErrors

public int countErrors()
Specified by:
countErrors in class AbstractReport

errorPercent

public double errorPercent()
Specified by:
errorPercent in class AbstractReport

getAverage

public long getAverage()
Specified by:
getAverage in class AbstractReport

getBuild

public hudson.model.AbstractBuild<?,?> getBuild()

getDisplayName

public java.lang.String getDisplayName()

getDynamic

public UriReport getDynamic(java.lang.String token)
                     throws java.io.IOException
Throws:
java.io.IOException

getHttpSample

public HttpSample getHttpSample()

getMax

public long getMax()
Specified by:
getMax in class AbstractReport

getMin

public long getMin()
Specified by:
getMin in class AbstractReport

getReportFileName

public java.lang.String getReportFileName()

getUriListOrdered

public java.util.List<UriReport> getUriListOrdered()

getUriReportMap

public java.util.Map<java.lang.String,UriReport> getUriReportMap()

setHttpSample

public void setHttpSample(HttpSample httpSample)

setReportFileName

public void setReportFileName(java.lang.String reportFileName)

size

public int size()
Specified by:
size in class AbstractReport


Copyright © 2010. All Rights Reserved.