Class MatomoStatisticsProvider
java.lang.Object
org.opencastproject.statistics.provider.matomo.provider.MatomoStatisticsProvider
- All Implemented Interfaces:
StatisticsProvider
- Direct Known Subclasses:
MatomoTimeSeriesStatisticsProvider
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMatomoStatisticsProvider(StatisticsProviderMatomoService service, String id, ResourceType resourceType, String title, String description) -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringdataResolutionToMatomoPeriod(DataResolution dataResolution) booleangetId()getTitle()inthashCode()
-
Field Details
-
service
-
-
Constructor Details
-
MatomoStatisticsProvider
public MatomoStatisticsProvider(StatisticsProviderMatomoService service, String id, ResourceType resourceType, String title, String description)
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceStatisticsProvider- Returns:
- The unique identifier of the provider.
-
getResourceType
- Specified by:
getResourceTypein interfaceStatisticsProvider- Returns:
- The type of resources this provider provides statistics for.
-
getTitle
- Specified by:
getTitlein interfaceStatisticsProvider- Returns:
- A title to display with the charts generated from the statistics provided by this provider. This should be a translation string key.
-
getDescription
- Specified by:
getDescriptionin interfaceStatisticsProvider- Returns:
- A description to display with the charts generated from the statistics provided by this provider. This should be a translation string key.
-
dataResolutionToMatomoPeriod
-
hashCode
public int hashCode() -
equals
-