Class ReportDefinitionBuilder

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

    public class ReportDefinitionBuilder
    extends 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 Collection<ReportDefinition> buildReportDefinitions()
                                                            throws 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:
        Exception - if any.
      • afterPropertiesSet

        public void afterPropertiesSet()

        afterPropertiesSet

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