Package org.ow2.clif.jenkins.model
Class Measure
- java.lang.Object
-
- org.ow2.clif.jenkins.model.Measure
-
public class Measure extends Object
Class that holds statistics for a measure- Author:
- Julien Coste, Bruno Dillenseger
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcountActions()longcountErrors()doubleerrorPercent()StringerrorPercentFormated()longgetAverage()StringgetAverageFormated()longgetMax()StringgetMaxFormated()longgetMedian()StringgetMedianFormated()longgetMin()StringgetMinFormated()StringgetName()longgetSize()StringgetSizeFormated()doublegetStdDev()StringgetStdDevFormated()doublegetThroughput()StringgetThroughputFormated()voidsetAverage(long average)voidsetCountErrors(long countErrors)voidsetMax(long max)voidsetMedian(long median)voidsetMin(long min)voidsetName(String name)voidsetSize(long size)voidsetStdDev(double stdDev)voidsetThroughput(double throughput)
-
-
-
Constructor Detail
-
Measure
public Measure()
-
Measure
public Measure(String name, long size, long average, long median, long min, long max, double stdDev, double throughput, long countErrors)
-
-
Method Detail
-
countActions
public long countActions()
-
countErrors
public long countErrors()
-
errorPercent
public double errorPercent()
-
errorPercentFormated
public String errorPercentFormated()
-
getAverage
public long getAverage()
-
getAverageFormated
public String getAverageFormated()
-
setAverage
public void setAverage(long average)
-
getMedian
public long getMedian()
-
getMedianFormated
public String getMedianFormated()
-
setMedian
public void setMedian(long median)
-
getMax
public long getMax()
-
getMaxFormated
public String getMaxFormated()
-
setMax
public void setMax(long max)
-
getMin
public long getMin()
-
getMinFormated
public String getMinFormated()
-
setMin
public void setMin(long min)
-
getSize
public long getSize()
-
getSizeFormated
public String getSizeFormated()
-
setSize
public void setSize(long size)
-
setCountErrors
public void setCountErrors(long countErrors)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getStdDev
public double getStdDev()
-
getStdDevFormated
public String getStdDevFormated()
-
setStdDev
public void setStdDev(double stdDev)
-
getThroughput
public double getThroughput()
-
getThroughputFormated
public String getThroughputFormated()
-
setThroughput
public void setThroughput(double throughput)
-
-