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.StringS_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.StringgetBasePath()Getter for basePathConfigurationgetConfiguration()Getter forConfigurationFrameworkgetFramework()Getter forFrameworkjava.lang.StringgetPageName()Getter for pageNameResourcegetResource()Getter forResourceResourceResolvergetResourceResolver()Getter forResourceResolvervoidsetPageName(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
Configurationthat defines the respective mapping
-
getFramework
public Framework getFramework()
Getter forFramework- Returns:
- the
Frameworkthat defines the respective mapping
-
getResourceResolver
public ResourceResolver getResourceResolver()
Getter forResourceResolver- Returns:
- the
ResourceResolver
-
getResource
public Resource getResource()
Getter forResource- Returns:
- the
Resourcethat should be mapped
-
getPageName
public java.lang.String getPageName()
Getter for pageName- Returns:
- the pageName that should be mapped to a
Resourcein 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 aResourcein 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
Configurationis set (parent ofResourceor pageName). This can benull.
-
-