@ExportedBean public class Measure extends Object
| Constructor and Description |
|---|
Measure(Object attr) |
Measure(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMeasurement(Measurement tm) |
String |
getAggregation() |
hudson.model.Api |
getApi()
Exposes this object to the remote API.
|
BigDecimal |
getAvg() |
String |
getColor() |
int |
getCount() |
Double |
getDoubleAvg() |
Double |
getDoubleMax() |
Double |
getDoubleMin() |
Double |
getDoubleSum() |
BigDecimal |
getMax() |
List<Measurement> |
getMeasurements() |
double |
getMetricValue() |
double |
getMetricValue(String aggregation)
get the avg value of a metric
in case of a percentile measure return the 95th percentile value
|
BigDecimal |
getMin() |
String |
getName() |
BigDecimal |
getStrMetricValue() |
double |
getSum() |
String |
getUnit() |
boolean |
isPercentile() |
public hudson.model.Api getApi()
@Exported(visibility=999) public List<Measurement> getMeasurements()
public void addMeasurement(Measurement tm)
@Exported(visibility=999) public double getSum()
@Exported(visibility=999) public int getCount()
@Exported(visibility=999) public String getName()
@Exported(visibility=999) public String getColor()
public BigDecimal getAvg()
public BigDecimal getMin()
@Exported(visibility=999) public String getUnit()
public BigDecimal getMax()
@Exported(visibility=999) public Double getDoubleMin()
@Exported(visibility=999) public Double getDoubleMax()
@Exported(visibility=999) public Double getDoubleAvg()
@Exported(visibility=999) public Double getDoubleSum()
@Exported(visibility=999) public String getAggregation()
public boolean isPercentile()
public double getMetricValue()
public double getMetricValue(String aggregation)
public BigDecimal getStrMetricValue()
Copyright © 2016. All rights reserved.