Class 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 Detail

      • AverageBuildValue

        public AverageBuildValue​(long startTime,
                                 java.lang.String label)
        Construct averaged value
        Parameters:
        startTime - range start
        label - value label
    • Method Detail

      • 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'.