Class GlossaryStatisticsProvider
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.glossary.statistics.GlossaryStatisticsProvider
- All Implemented Interfaces:
LogEnabled
,PluginAware
,StatisticsProvider
,Serviceable
public class GlossaryStatisticsProvider
extends AbstractLogEnabled
implements StatisticsProvider, Serviceable, PluginAware
Statistics for glossary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the statistics to send anonymouslyvoid
service
(ServiceManager manager) void
setPluginInfo
(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
GlossaryStatisticsProvider
public GlossaryStatisticsProvider()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
setPluginInfo
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
getStatistics
Description copied from interface:StatisticsProvider
Get the statistics to send anonymously- Specified by:
getStatistics
in interfaceStatisticsProvider
- Returns:
- A jsonizable object
-