Class PropertyConfiguration

    • Field Detail

      • metricName

        protected String metricName
    • Constructor Detail

      • PropertyConfiguration

        public PropertyConfiguration()
    • Method Detail

      • getMetricNameGrouping

        public String getMetricNameGrouping()
      • matches

        public static <T extends PropertyConfiguration> T matches​(Collection<T> configs,
                                                                  String metricName)
        Given a metric name and a collection of PropertyConfiguration objects, will return a match to the metric name if it exists, otherwise a null is returned.
        Type Parameters:
        T - extends PropertyConfiguration
        Parameters:
        configs - Collection of T
        metricName - the metric name to find a matching configuration for
        Returns:
        the matching configuration or null if non exists.