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
public class InheritLevelsMergeStrategy extends AbstractInheritFromHierarchyMergeStrategy
Implementation ofAbstractInheritFromHierarchyMergeStrategy. Descriptors "inherited" are level descriptors in upper folders in the hierarchy.- Author:
- Sumer Jabri, Alfonso Vásquez
-
-
Field Summary
Fields Modifier and Type Field Description protected StringlevelDescriptorFileName-
Fields inherited from class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
baseFolders
-
-
Constructor Summary
Constructors Constructor Description InheritLevelsMergeStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)voidsetLevelDescriptorFileName(String levelDescriptorFileName)-
Methods inherited from class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
getDescriptors, getDescriptors, getIndexAfterBaseFolder, setBaseFolders
-
-
-
-
Field Detail
-
levelDescriptorFileName
protected String levelDescriptorFileName
-
-
Method Detail
-
setLevelDescriptorFileName
public void setLevelDescriptorFileName(String levelDescriptorFileName)
-
addInheritedDescriptorsInFolder
protected void addInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)
- Specified by:
addInheritedDescriptorsInFolderin classAbstractInheritFromHierarchyMergeStrategy
-
-