hudson.plugins.performance
Class UriReport

java.lang.Object
  extended by hudson.plugins.performance.AbstractReport
      extended by hudson.plugins.performance.UriReport
All Implemented Interfaces:
hudson.model.ModelObject, java.lang.Comparable<UriReport>

public class UriReport
extends AbstractReport
implements hudson.model.ModelObject, java.lang.Comparable<UriReport>

A report about a particular tested URI. This object belongs under PerformanceReport.


Field Summary
static java.lang.String END_PERFORMANCE_PARAMETER
           
 
Method Summary
 void addHttpSample(HttpSample httpSample)
           
 int compareTo(UriReport uriReport)
           
 int countErrors()
           
 java.lang.String encodeUriReport()
           
 double errorPercent()
           
 long getAverage()
           
 hudson.model.AbstractBuild<?,?> getBuild()
           
 java.lang.String getDisplayName()
           
 java.util.List<HttpSample> getHttpSampleList()
           
 long getMax()
           
 long getMin()
           
 PerformanceReport getPerformanceReport()
           
 java.lang.String getStaplerUri()
           
 java.lang.String getUri()
           
 boolean isFailed()
           
 void setUri(java.lang.String uri)
           
 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
 

Field Detail

END_PERFORMANCE_PARAMETER

public static final java.lang.String END_PERFORMANCE_PARAMETER
See Also:
Constant Field Values
Method Detail

addHttpSample

public void addHttpSample(HttpSample httpSample)

compareTo

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

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()
Specified by:
getDisplayName in interface hudson.model.ModelObject

getHttpSampleList

public java.util.List<HttpSample> getHttpSampleList()

getPerformanceReport

public PerformanceReport getPerformanceReport()

getMax

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

getMin

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

getStaplerUri

public java.lang.String getStaplerUri()

getUri

public java.lang.String getUri()

isFailed

public boolean isFailed()

setUri

public void setUri(java.lang.String uri)

size

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

encodeUriReport

public java.lang.String encodeUriReport()
                                 throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException


Copyright © 2010. All Rights Reserved.