Package org.craftercms.engine.targeting
Interface CandidateTargetedUrlsResolver
-
- All Known Implementing Classes:
CandidateTargetedUrlsResolverImpl
public interface CandidateTargetedUrlsResolver
Resolves all the candidate targeted URLs that should be used for a specified target URL when attempting content resolution.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getUrls(String targetedUrl)
Resolves all the candidate targeted URLs that should be used for a given targeted URL when attempting content resolution.
-
-
-
Method Detail
-
getUrls
List<String> getUrls(String targetedUrl)
Resolves all the candidate targeted URLs that should be used for a given targeted URL when attempting content resolution. For example, if the targeted URL is /products/index_en_US.xml, that candidate URL list could look like this: /products/index_en_US.xml, /products/index_en.xml, and /products/index.xml.- Parameters:
targetedUrl
- the targeted URL used to generate the candidate URLs- Returns:
- the list of candidate targeted URLs.
-
-