Interface AnalyticsPageNameProvider
Interface to be implemented by clients who want to provide their own logic
for generating
s.pageName for Analytics or retrieving Resources from
custom pageName's.
Registered AnalyticsPageNameProvider will be called based on their
Constants.SERVICE_RANKING. If one implementation can provide a value, then this
value will be taken and remaining providers are not called anymore.-
Method Summary
Modifier and TypeMethodDescriptiongetPageName(AnalyticsPageNameContext context) Called when pageName for a resource is requested.getResource(AnalyticsPageNameContext context) Called when theResourcefor a given pageName is requested.
-
Method Details
-
getPageName
Called when pageName for a resource is requested.- Parameters:
context- the resolutionAnalyticsPageNameContext- Returns:
nullor the generated pageName
-
getResource
Called when theResourcefor a given pageName is requested.- Parameters:
context- the resolutionAnalyticsPageNameContext- Returns:
nullor the resource that matches the pageName provided via context
-