Class AnalyticsPageNameContext
java.lang.Object
com.day.cq.analytics.sitecatalyst.AnalyticsPageNameContext
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnalyticsPageNameContext
(Configuration configuration, Framework framework, ResourceResolver resourceResolver, Resource resource, String pageName, String basePath) -
Method Summary
Modifier and TypeMethodDescriptionGetter for basePathGetter forConfiguration
Getter forFramework
Getter for pageNameGetter forResource
Getter forResourceResolver
void
setPageName
(String pageName) Setter for pageName
-
Field Details
-
S_PAGE_NAME
- See Also:
-
-
Constructor Details
-
AnalyticsPageNameContext
public AnalyticsPageNameContext(Configuration configuration, Framework framework, ResourceResolver resourceResolver, Resource resource, String pageName, String basePath)
-
-
Method Details
-
getConfiguration
Getter forConfiguration
- Returns:
- the
Configuration
that defines the respective mapping
-
getFramework
Getter forFramework
- Returns:
- the
Framework
that defines the respective mapping
-
getResourceResolver
Getter forResourceResolver
- Returns:
- the
ResourceResolver
-
getResource
Getter forResource
- Returns:
- the
Resource
that should be mapped
-
getPageName
Getter for pageName- Returns:
- the pageName that should be mapped to a
Resource
in caseAnalyticsPageNameResolver.getResource(AnalyticsPageNameContext)
is called. Otherwise this can benull
.
-
setPageName
Setter for pageName- Parameters:
pageName
- the pageName that should be mapped to aResource
in caseAnalyticsPageNameResolver.getResource(AnalyticsPageNameContext)
is called. Otherwise this can benull
.
-
getBasePath
Getter for basePath- Returns:
- the basePath of the mapping. this is typically the path of the
resource where the
Configuration
is set (parent ofResource
or pageName). This can benull
.
-