Interface AnalyticsPageNameProvider
-
@ConsumerType public interface AnalyticsPageNameProviderInterface to be implemented by clients who want to provide their own logic for generatings.pageNamefor Analytics or retrievingResources from custom pageName's. RegisteredAnalyticsPageNameProviderwill be called based on theirConstants.SERVICE_RANKING. If one implementation can provide a value, then this value will be taken and remaining providers are not called anymore.
-
-
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.- Parameters:
context- the resolutionAnalyticsPageNameContext- Returns:
nullor the generated pageName
-
getResource
Resource getResource(AnalyticsPageNameContext context)
Called when theResourcefor a given pageName is requested.- Parameters:
context- the resolutionAnalyticsPageNameContext- Returns:
nullor the resource that matches the pageName provided via context
-
-