Class RuleMetricDataSource


  • public class RuleMetricDataSource
    extends RuleDataSource
    A rule metric data source. The discriminator value is always RuleMetricDataSource in this case.
    • Constructor Detail

      • RuleMetricDataSource

        public RuleMetricDataSource()
    • Method Detail

      • metricName

        public String metricName()
        Get the name of the metric that defines what the rule monitors.
        Returns:
        the metricName value
      • withMetricName

        public RuleMetricDataSource withMetricName​(String metricName)
        Set the name of the metric that defines what the rule monitors.
        Parameters:
        metricName - the metricName value to set
        Returns:
        the RuleMetricDataSource object itself.