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)
           
 void addLastBuildUriReport(UriReport lastBuildUriReport)
           
 int compareTo(UriReport uriReport)
           
 int countErrors()
           
 java.lang.String encodeUriReport()
           
 double errorPercent()
           
 long get90Line()
           
 long getAverage()
           
 long getAverageDiff()
           
 hudson.model.AbstractBuild<?,?> getBuild()
           
 java.lang.String getDisplayName()
           
 double getErrorPercentDiff()
           
 java.lang.String getHttpCode()
           
 java.util.List<HttpSample> getHttpSampleList()
           
 java.lang.String getLastBuildHttpCodeIfChanged()
           
 long getMax()
           
 long getMedian()
           
 long getMedianDiff()
           
 long getMin()
           
 PerformanceReport getPerformanceReport()
           
 java.lang.String getShortUri()
           
 int getSizeDiff()
           
 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, get90LineFormated, getAverageFormated, getMaxFormated, getMeanFormated
 
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

get90Line

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

getHttpCode

public java.lang.String getHttpCode()
Specified by:
getHttpCode in class AbstractReport

getMedian

public long getMedian()
Specified by:
getMedian 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()

getShortUri

public java.lang.String getShortUri()

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

addLastBuildUriReport

public void addLastBuildUriReport(UriReport lastBuildUriReport)

getAverageDiff

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

getMedianDiff

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

getErrorPercentDiff

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

getLastBuildHttpCodeIfChanged

public java.lang.String getLastBuildHttpCodeIfChanged()
Specified by:
getLastBuildHttpCodeIfChanged in class AbstractReport

getSizeDiff

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


Copyright © 2012. All Rights Reserved.