Interface AnalyticsPageNameResolver
-
@ProviderType public interface AnalyticsPageNameResolver
TheAnalyticsPageNameResolverservice can be used to generate the Analytics pageName based onFrameworkmappings 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.StringgetPageName(AnalyticsPageNameContext context)Called when pageName for a resource is requested.ResourcegetResource(AnalyticsPageNameContext context)Called when theResourcefor a given pageName is requested.
-
-
-
Method Detail
-
getPageName
java.lang.String getPageName(AnalyticsPageNameContext context)
Called when pageName for a resource is requested. SeeAnalyticsPageNameProviderfor providing your own pageName resolution- Parameters:
context- the resolutionAnalyticsPageNameContext- Returns:
nullor the generated pageName
-
getResource
Resource getResource(AnalyticsPageNameContext context)
Called when theResourcefor a given pageName is requested. SeeAnalyticsPageNameProviderfor providing your own pageName resolution- Parameters:
context- the resolutionAnalyticsPageNameContext- Returns:
nullor the resource that matches the pageName provided viaAnalyticsPageNameContext
-
-