jetbrains.buildServer.serverSide.statistics.build
Class AverageBuildValue
java.lang.Object
java.lang.Number
jetbrains.buildServer.serverSide.statistics.build.BuildValue
jetbrains.buildServer.serverSide.statistics.build.AverageBuildValue
- All Implemented Interfaces:
- java.io.Serializable
public class AverageBuildValue
- extends BuildValue
This class holds metric value and attributes of corresponding build
- See Also:
- Serialized Form
|
Constructor Summary |
AverageBuildValue(long startTime,
java.lang.String label)
Construct averaged value |
|
Method Summary |
void |
add(BuildValue value)
Add value |
int |
getCount()
Getter for property 'count'. |
java.math.BigDecimal |
getSum()
Getter for property 'sum'. |
java.math.BigDecimal |
getValue()
|
void |
setSum(java.math.BigDecimal sum)
Setter for property 'sum'. |
| Methods inherited from class jetbrains.buildServer.serverSide.statistics.build.BuildValue |
doubleValue, floatValue, getBuildId, getBuildNumber, getBuildTypeId, getBuildTypeName, getDuration, getSeries, getStartTime, getStatusText, intValue, isFailed, isLinkable, longValue, setBuildId, setBuildNumber, setBuildTypeId, setBuildTypeName, setDuration, setFailed, setLinkable, setSeries, setStartTime, setValue, toString |
| Methods inherited from class java.lang.Number |
byteValue, shortValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AverageBuildValue
public AverageBuildValue(long startTime,
java.lang.String label)
- Construct averaged value
- Parameters:
startTime - range startlabel - value label
add
public void add(BuildValue value)
- Add value
- Parameters:
value - value to add
getSum
public java.math.BigDecimal getSum()
- Getter for property 'sum'.
- Returns:
- Value for property 'sum'.
setSum
public void setSum(java.math.BigDecimal sum)
- Setter for property 'sum'.
- Parameters:
sum - Value to set for property 'sum'.
getValue
public java.math.BigDecimal getValue()
-
- Overrides:
getValue in class BuildValue
getCount
public int getCount()
- Getter for property 'count'.
- Returns:
- Value for property 'count'.