Class RepositoryStatisticsProvider
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.repository.activities.RepositoryStatisticsProvider
- All Implemented Interfaces:
LogEnabled,StatisticsProvider,Component,Serviceable
public class RepositoryStatisticsProvider
extends AbstractLogEnabled
implements StatisticsProvider, Component, Serviceable
Provide different statistics related to the repository
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the statistics to send anonymouslyvoidservice(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
_resolver
The ametys object resolver
-
-
Constructor Details
-
RepositoryStatisticsProvider
public RepositoryStatisticsProvider()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getStatistics
Description copied from interface:StatisticsProviderGet the statistics to send anonymously- Specified by:
getStatisticsin interfaceStatisticsProvider- Returns:
- A jsonizable object
-