Class ReportDefinitionBuilder

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    public class ReportDefinitionBuilder
    extends java.lang.Object
    implements org.springframework.beans.factory.InitializingBean

    ReportDefinitionBuilder class.

    Version:
    $Id: $
    Author:
    ranger
    • Constructor Detail

      • ReportDefinitionBuilder

        public ReportDefinitionBuilder()
    • Method Detail

      • reload

        public void reload()
                    throws org.springframework.dao.DataAccessResourceFailureException

        reload

        Throws:
        org.springframework.dao.DataAccessResourceFailureException - if any.
      • buildReportDefinitions

        public java.util.Collection<ReportDefinition> buildReportDefinitions()
                                                                      throws java.lang.Exception
        Builds and schedules all reports enabled in the statsd-configuration. This method has the capability to throw a ton of exceptions, just generically throwing Exception
        Returns:
        a Collection of enabled reports from the statsd-configuration.
        Throws:
        java.lang.Exception - if any.
      • afterPropertiesSet

        public void afterPropertiesSet()

        afterPropertiesSet

        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean