public final class AnalyticsPageNameContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
S_PAGE_NAME |
| Constructor and Description |
|---|
AnalyticsPageNameContext(Configuration configuration,
Framework framework,
ResourceResolver resourceResolver,
Resource resource,
String pageName,
String basePath) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBasePath()
Getter for basePath
|
Configuration |
getConfiguration()
Getter for
Configuration |
Framework |
getFramework()
Getter for
Framework |
String |
getPageName()
Getter for pageName
|
Resource |
getResource()
Getter for
Resource |
ResourceResolver |
getResourceResolver()
Getter for
ResourceResolver |
void |
setPageName(String pageName)
Setter for pageName
|
public static final String S_PAGE_NAME
public AnalyticsPageNameContext(Configuration configuration, Framework framework, ResourceResolver resourceResolver, Resource resource, String pageName, String basePath)
public Configuration getConfiguration()
ConfigurationConfiguration that defines the respective mappingpublic Framework getFramework()
FrameworkFramework that defines the respective mappingpublic ResourceResolver getResourceResolver()
ResourceResolverResourceResolverpublic Resource getResource()
ResourceResource that should be mappedpublic String getPageName()
Resource in case
AnalyticsPageNameResolver.getResource(AnalyticsPageNameContext)
is called. Otherwise this can be null.public void setPageName(String pageName)
pageName - the pageName that should be mapped to a Resource in
case
AnalyticsPageNameResolver.getResource(AnalyticsPageNameContext)
is called. Otherwise this can be null.public String getBasePath()
Configuration is set (parent of
Resource or pageName). This can be null.Copyright © 2010 - 2020 Adobe. All Rights Reserved