Class InheritLevelsMergeStrategy
java.lang.Object
org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
org.craftercms.core.xml.mergers.impl.strategies.InheritLevelsMergeStrategy
- All Implemented Interfaces:
DescriptorMergeStrategy
Implementation of
AbstractInheritFromHierarchyMergeStrategy
. Descriptors "inherited" are level descriptors
in upper folders in the hierarchy.- Author:
- Sumer Jabri, Alfonso Vásquez
-
Field Summary
FieldsFields inherited from class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
baseFolders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addInheritedDescriptorsInFolder
(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom) void
setLevelDescriptorFileName
(String levelDescriptorFileName) Methods inherited from class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
getDescriptors, getDescriptors, getIndexAfterBaseFolder, setBaseFolders
-
Field Details
-
levelDescriptorFileName
-
-
Constructor Details
-
InheritLevelsMergeStrategy
public InheritLevelsMergeStrategy()
-
-
Method Details
-
setLevelDescriptorFileName
-
addInheritedDescriptorsInFolder
protected void addInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom) - Specified by:
addInheritedDescriptorsInFolder
in classAbstractInheritFromHierarchyMergeStrategy
-