Interface MetricOption


  • public interface MetricOption
    Option to pass to a metric. Options modify the behaviour of a metric. You must bundle them into a MetricOptions to pass them all to a metric.

    Options must be suitable for use in sets (implement equals/hashcode, or be singletons).

    Author:
    Clément Fournier
    Since:
    6.0.0
    • Method Detail

      • name

        String name()
        Returns the name of the option constant.
        Returns:
        The name of the option constant.
      • valueName

        String valueName()
        Returns the name of the option as it should be used in properties.
        Returns:
        The name of the option.