Class AnalyticsPageNameContext
- java.lang.Object
-
- com.day.cq.analytics.sitecatalyst.AnalyticsPageNameContext
-
public final class AnalyticsPageNameContext extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
S_PAGE_NAME
-
Constructor Summary
Constructors Constructor Description AnalyticsPageNameContext(Configuration configuration, Framework framework, ResourceResolver resourceResolver, Resource resource, java.lang.String pageName, java.lang.String basePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBasePath()
Getter for basePathConfiguration
getConfiguration()
Getter forConfiguration
Framework
getFramework()
Getter forFramework
java.lang.String
getPageName()
Getter for pageNameResource
getResource()
Getter forResource
ResourceResolver
getResourceResolver()
Getter forResourceResolver
void
setPageName(java.lang.String pageName)
Setter for pageName
-
-
-
Field Detail
-
S_PAGE_NAME
public static final java.lang.String S_PAGE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AnalyticsPageNameContext
public AnalyticsPageNameContext(Configuration configuration, Framework framework, ResourceResolver resourceResolver, Resource resource, java.lang.String pageName, java.lang.String basePath)
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration()
Getter forConfiguration
- Returns:
- the
Configuration
that defines the respective mapping
-
getFramework
public Framework getFramework()
Getter forFramework
- Returns:
- the
Framework
that defines the respective mapping
-
getResourceResolver
public ResourceResolver getResourceResolver()
Getter forResourceResolver
- Returns:
- the
ResourceResolver
-
getResource
public Resource getResource()
Getter forResource
- Returns:
- the
Resource
that should be mapped
-
getPageName
public java.lang.String 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
public void setPageName(java.lang.String pageName)
Setter for pageName- Parameters:
pageName
- the pageName that should be mapped to aResource
in caseAnalyticsPageNameResolver.getResource(AnalyticsPageNameContext)
is called. Otherwise this can benull
.
-
getBasePath
public java.lang.String 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
.
-
-