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() - serverReadOnly: Boolean - Repository server read only mode.
RepoUsage.isReadOnly() - serverMode: String - The server mode.
ServerModeProvider.getServerMode() - ftpEnabled: Boolean - FTP enabled state as reported by the
ftp.enabledproperty of the fileServers subsystemAbstractPropertyBackedBean.getProperty(String) - webDAVEnabled: Boolean - WebDAV enabled state.
WebDavService.getEnabled() - thumbnailsEnabled: Boolean - Thumbnails enabled state.
ThumbnailService.getThumbnailsEnabled() - activitiesFeedEnabled: Boolean - Activities feed enabled state as reported by the
activities.feed.notifier.enabledproperty of the ActivitiesFeed subsystemAbstractPropertyBackedBean.getProperty(String) - activitiEngineEnabled: Boolean - Activiti engine enabled state for engine id:
ActivitiConstants.ENGINE_IDas reported byWorkflowAdminService.isEngineEnabled(String) - inboundServerEnabled: Boolean - Inbound email server enabled state.
The state is calculated as logical AND of the properties
email.server.enabledANDemail.inbound.enabledas reported by the InboundSMTP subsystemAbstractPropertyBackedBean.getProperty(String) - imapEnabled: Boolean - Imap enabled state as reported by the
imap.server.enabledproperty of the imap subsystemAbstractPropertyBackedBean.getProperty(String) - replication: Replication configuration.
- enabled: Boolean - Replication enabled state as reported by the
replication.enabledproperty of the Replication subsystemAbstractPropertyBackedBean.getProperty(String) - readOnly: Boolean - Replication transfer readonly as reported by the
replication.transfer.readonlyproperty of the Replication subsystemAbstractPropertyBackedBean.getProperty(String)
- enabled: Boolean - Replication enabled state as reported by the
- db: Database configuration
- maxConnections: int - The maximum number of active connections.
BasicDataSource.getMaxActive()
- maxConnections: int - The maximum number of active connections.
- authentication: Authentication configuration.
- chain: String - The authentication chain as reported by
chainpropertyAbstractPropertyBackedBean.getProperty(String)
- chain: String - The authentication chain as reported by
- module: Module configuration.
- installed: Information about the installed modules
ModuleService.getAllModules()- count int - The number of installed modules.
- modules: - List of installed modules.
-
ModuleDetails.getId()- version - module version
ModuleDetails.getModuleVersionNumber()
...
- version - module version
-
- missing: Information about the missing modules, omitted if no missing modules,
ModuleService.getMissingModules()- modules: - List of missing modules.
-
ModuleDetails.getId()- version String - module version
ModuleDetails.getModuleVersionNumber()
...
- version String - module version
-
- modules: - List of missing modules.
- installed: Information about the installed modules
- audit: Audit applications configuration.
- enabled boolean - The audit enabled state
AuditService.isAuditEnabled() - apps: List of audit applications.
AuditService.getAuditApplications()- map keys from
AuditService.getAuditApplications()Note that spaces are replaces with hyphens- enabled - Enabled state of this audit application.
AuditService.AuditApplication.isEnabled()
...
- enabled - Enabled state of this audit application.
- map keys from
- enabled boolean - The audit enabled state
- 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, HeartBeatJobScheduler hbJobScheduler)
-
Method Summary
-
Methods inherited from class org.alfresco.heartbeat.HBBaseDataCollector
deregister, getCollectorId, getCollectorVersion, getCronExpression, getHbJobScheduler, register, setHbDataCollectorService, setHbJobScheduler
-
-
-
-
Constructor Detail
-
ConfigurationDataCollector
public ConfigurationDataCollector(java.lang.String collectorId, java.lang.String collectorVersion, java.lang.String cronExpression, HeartBeatJobScheduler hbJobScheduler)
-
-
Method Detail
-
setReplicationSubsystem
public void setReplicationSubsystem(ChildApplicationContextFactory replicationSubsystem)
-
setCurrentRepoDescriptorDAO
public void setCurrentRepoDescriptorDAO(DescriptorDAO currentRepoDescriptorDAO)
-
setSmartFoldersBundle
public void setSmartFoldersBundle(SpringExtensionBundle smartFoldersBundle)
-
setAuthenticationSubsystem
public void setAuthenticationSubsystem(DefaultChildApplicationContextManager authenticationSubsystem)
-
setFileServersSubsystem
public void setFileServersSubsystem(ChildApplicationContextFactory fileServersSubsystem)
-
setActivitiesFeedSubsystem
public void setActivitiesFeedSubsystem(ChildApplicationContextFactory activitiesFeedSubsystem)
-
setInboundSMTPSubsystem
public void setInboundSMTPSubsystem(ChildApplicationContextFactory inboundSMTPSubsystem)
-
setImapSubsystem
public void setImapSubsystem(ChildApplicationContextFactory imapSubsystem)
-
setWorkflowAdminService
public void setWorkflowAdminService(WorkflowAdminService workflowAdminService)
-
setWebdavService
public void setWebdavService(WebDavService webdavService)
-
setThumbnailService
public void setThumbnailService(ThumbnailService thumbnailService)
-
setServerModeProvider
public void setServerModeProvider(ServerModeProvider serverModeProvider)
-
setDataSource
public void setDataSource(javax.sql.DataSource dataSource)
-
setRepoUsageComponent
public void setRepoUsageComponent(RepoUsageComponent repoUsageComponent)
-
setModuleService
public void setModuleService(ModuleService moduleService)
-
setAuditService
public void setAuditService(AuditService auditService)
-
setTransactionService
public void setTransactionService(TransactionService transactionService)
-
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
-
-