Class AnalyticsPageNameContext
- java.lang.Object
-
- com.day.cq.analytics.sitecatalyst.AnalyticsPageNameContext
-
public final class AnalyticsPageNameContext extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
S_PAGE_NAME
-
Constructor Summary
Constructors Constructor Description AnalyticsPageNameContext(Configuration configuration, Framework framework, ResourceResolver resourceResolver, Resource resource, String pageName, String basePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBasePath()
Getter for basePathConfiguration
getConfiguration()
Getter forConfiguration
Framework
getFramework()
Getter forFramework
String
getPageName()
Getter for pageNameResource
getResource()
Getter forResource
ResourceResolver
getResourceResolver()
Getter forResourceResolver
void
setPageName(String pageName)
Setter for pageName
-
-
-
Field Detail
-
S_PAGE_NAME
public static final String S_PAGE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AnalyticsPageNameContext
public AnalyticsPageNameContext(Configuration configuration, Framework framework, ResourceResolver resourceResolver, Resource resource, String pageName, 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 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(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 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
.
-
-