Class ReporterConfigSupport<T extends ReporterConfigSupport<T>>

  • Type Parameters:
    T - self type
    Direct Known Subclasses:
    JmxConfig, ScheduledReporterConfigSupport

    public abstract class ReporterConfigSupport<T extends ReporterConfigSupport<T>>
    extends java.lang.Object
    A common base for reporter config classes.
    Since:
    1.4
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T excludeFilter​(java.lang.String excludeFilter)
      Set the exclude metric filter expression of the reporter.
      java.lang.String getExcludeFilter()
      The exclude metric filter expression of the reporter.
      java.lang.String getIncludeFilter()
      The include metric filter expression of the reporter.
      T includeFilter​(java.lang.String includeFilter)
      Set the include metric filter of the reporter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReporterConfigSupport

        public ReporterConfigSupport()
    • Method Detail

      • getIncludeFilter

        public java.lang.String getIncludeFilter()
        The include metric filter expression of the reporter.
        Returns:
        the include filter
      • includeFilter

        public T includeFilter​(java.lang.String includeFilter)
        Set the include metric filter of the reporter.
        Parameters:
        includeFilter - the regular expression to match on.
        Returns:
        this
      • getExcludeFilter

        public java.lang.String getExcludeFilter()
        The exclude metric filter expression of the reporter.
        Returns:
        the exclude filter
      • excludeFilter

        public T excludeFilter​(java.lang.String excludeFilter)
        Set the exclude metric filter expression of the reporter.
        Parameters:
        excludeFilter - the regular expression to match on.
        Returns:
        this