public interface SiteMapConfiguration extends ModuleConfiguration
Modifier and Type | Method and Description |
---|---|
String |
fixSiteUrlPath(String siteUrlPath)
Ensure that the site URL path does not end with a "/"
|
String |
getIndexedSiteMapFileName()
The name to use for the primary site map file when it contains indexed files.
|
Integer |
getMaximumUrlEntriesPerFile()
Returns the maximumUrlEntriesPerFile.
|
String |
getSiteMapFileName()
The name to use for the primary site map file when it does not contain indexed files.
|
List<SiteMapGeneratorConfiguration> |
getSiteMapGeneratorConfigurations()
Returns the list of SiteMapGeneratorConfigurations used by this SiteMapConfiguration.
|
String |
getSiteMapIndexFilePattern()
The name to use for the indexed sitemap files.
|
void |
setIndexedSiteMapFileName(String fileName)
Sets the name of the file to use when creating sitemaps and the system requires indexed
files.
|
void |
setIndexedSiteMapFilePattern(String filePattern)
Sets the name of the file to use when creating sitemaps and the system requires indexed
files.
|
void |
setMaximumUrlEntriesPerFile(Integer maximumUrlEntriesPerFile)
Sets the maximumUrl Entries per sitemap file.
|
void |
setSiteMapFileName(String siteMapFileName)
Sets the value to be returned for the name of the sitemap file.
|
void |
setSiteMapGeneratorConfigurations(List<SiteMapGeneratorConfiguration> siteMapGeneratorConfigurations)
Sets the list of SiteMapGeneratorConfigurations.
|
getActiveEndDate, getActiveStartDate, getAuditable, getId, getIsDefault, getModuleConfigurationType, getModuleName, getPriority, isDefault, setActiveEndDate, setActiveStartDate, setAuditable, setId, setIsDefault, setModuleName, setPriority
List<SiteMapGeneratorConfiguration> getSiteMapGeneratorConfigurations()
void setSiteMapGeneratorConfigurations(List<SiteMapGeneratorConfiguration> siteMapGeneratorConfigurations)
siteMapGeneratorConfigurations
- Integer getMaximumUrlEntriesPerFile()
void setMaximumUrlEntriesPerFile(Integer maximumUrlEntriesPerFile)
maximumUrlEntriesPerFile
- String fixSiteUrlPath(String siteUrlPath)
siteUrlPath
- String getSiteMapFileName()
void setSiteMapFileName(String siteMapFileName)
getSiteMapFileName()
String getIndexedSiteMapFileName()
getSiteMapFileName()
if not set. Be sure to update robots.txt if
changing this value.getSiteMapFileName()
void setIndexedSiteMapFileName(String fileName)
String getSiteMapIndexFilePattern()
getSiteMapFileName()
###. Where "###" is a token that
will be replaced with the current index.
For example, a file that required 2 indexed files would create the following two files:
sitemap1.xml
sitemap2.xmlgetSiteMapFileName()
void setIndexedSiteMapFilePattern(String filePattern)
Copyright © 2022. All rights reserved.