Enum Class MovingAverageConfiguration.MovingAverageType

java.lang.Object
java.lang.Enum<MovingAverageConfiguration.MovingAverageType>
com.xceptance.xlt.api.report.MovingAverageConfiguration.MovingAverageType
All Implemented Interfaces:
Serializable, Comparable<MovingAverageConfiguration.MovingAverageType>, Constable
Enclosing class:
MovingAverageConfiguration

public static enum MovingAverageConfiguration.MovingAverageType extends Enum<MovingAverageConfiguration.MovingAverageType>
Moving average type.
  • Enum Constant Details

    • PERCENTAGE

      public static final MovingAverageConfiguration.MovingAverageType PERCENTAGE
      Average over a percentage of data points. E.g. if we have 1000 data points, a percentage average of 5% will calculate the average over the last 50 data points.
    • TIME

      Average over a time interval. E.g. a time average of 30s will calculate the average over all data points in the last 30s.
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Get the name of the moving average type.
      Returns:
      the name of the moving average type
    • getNames

      public static List<String> getNames()
      Get the names of all available moving average types.
      Returns:
      a list of all moving average type names