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 long
countActions()
long
countErrors()
double
errorPercent()
String
errorPercentFormated()
long
getAverage()
String
getAverageFormated()
long
getMax()
String
getMaxFormated()
long
getMedian()
String
getMedianFormated()
long
getMin()
String
getMinFormated()
String
getName()
long
getSize()
String
getSizeFormated()
double
getStdDev()
String
getStdDevFormated()
double
getThroughput()
String
getThroughputFormated()
void
setAverage(long average)
void
setCountErrors(long countErrors)
void
setMax(long max)
void
setMedian(long median)
void
setMin(long min)
void
setName(String name)
void
setSize(long size)
void
setStdDev(double stdDev)
void
setThroughput(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)
-
-