Interface AnalyticsPageNameResolver
-
@ProviderType public interface AnalyticsPageNameResolver
TheAnalyticsPageNameResolver
service can be used to generate the Analytics pageName based onFramework
mappings or other context data. It's mostly used by back-end processes that need the pageName to run reports against Analytics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getPageName(AnalyticsPageNameContext context)
Called when pageName for a resource is requested.Resource
getResource(AnalyticsPageNameContext context)
Called when theResource
for a given pageName is requested.
-
-
-
Method Detail
-
getPageName
java.lang.String getPageName(AnalyticsPageNameContext context)
Called when pageName for a resource is requested. SeeAnalyticsPageNameProvider
for providing your own pageName resolution- Parameters:
context
- the resolutionAnalyticsPageNameContext
- Returns:
null
or the generated pageName
-
getResource
Resource getResource(AnalyticsPageNameContext context)
Called when theResource
for a given pageName is requested. SeeAnalyticsPageNameProvider
for providing your own pageName resolution- Parameters:
context
- the resolutionAnalyticsPageNameContext
- Returns:
null
or the resource that matches the pageName provided viaAnalyticsPageNameContext
-
-