Package org.alfresco.heartbeat
Class ConfigurationDataCollector
- java.lang.Object
-
- org.alfresco.heartbeat.HBBaseDataCollector
-
- org.alfresco.heartbeat.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.- Collector ID: acs.repository.configuration
- Data:
- smartFoldersEnabled: Boolean - Smart folder is registered or not.
SpringExtensionBundle.isEnabled()
- smartFoldersEnabled: Boolean - Smart folder is registered or not.
- Author:
- mpopa
-
-
Constructor Summary
Constructors Constructor Description ConfigurationDataCollector(java.lang.String collectorId, java.lang.String collectorVersion, java.lang.String cronExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()java.util.List<org.alfresco.heartbeat.datasender.HBData>collectData()This method returns data to be collected.voidsetCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO)voidsetSmartFoldersBundle(SpringExtensionBundle smartFoldersBundle)-
Methods inherited from class org.alfresco.heartbeat.HBBaseDataCollector
deregister, getCollectorId, getCollectorVersion, getCronExpression, register, setHbDataCollectorService
-
-
-
-
Method Detail
-
setCurrentRepoDescriptorDAO
public void setCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO)
-
setSmartFoldersBundle
public void setSmartFoldersBundle(SpringExtensionBundle smartFoldersBundle)
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
collectData
public java.util.List<org.alfresco.heartbeat.datasender.HBData> collectData()
Description copied from class:HBBaseDataCollectorThis method returns data to be collected.- Specified by:
collectDatain classHBBaseDataCollector- Returns:
- List of
HBData
-
-