Class ConfigurationDataCollector

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

    public class ConfigurationDataCollector
    extends HBBaseDataCollector
    implements org.springframework.beans.factory.InitializingBean
    A collector of data related to repository configuration data for HeartBeat.
    Author:
    mpopa
    • Constructor Detail

      • ConfigurationDataCollector

        public ConfigurationDataCollector​(java.lang.String collectorId,
                                          java.lang.String collectorVersion,
                                          java.lang.String cronExpression)
    • Method Detail

      • setCurrentRepoDescriptorDAO

        public void setCurrentRepoDescriptorDAO​(DescriptorDAO currentRepoDescriptorDAO)
      • setSmartFoldersBundle

        public void setSmartFoldersBundle​(SpringExtensionBundle smartFoldersBundle)
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • collectData

        public java.util.List<org.alfresco.heartbeat.datasender.HBData> collectData()
        Description copied from class: HBBaseDataCollector
        This method returns data to be collected.
        Specified by:
        collectData in class HBBaseDataCollector
        Returns:
        List of HBData