Class InheritVersionsMergeStrategy
- java.lang.Object
-
- org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
-
- org.craftercms.core.xml.mergers.impl.strategies.InheritVersionsMergeStrategy
-
- All Implemented Interfaces:
DescriptorMergeStrategy
public class InheritVersionsMergeStrategy extends AbstractInheritFromHierarchyMergeStrategy
Implementation ofAbstractInheritFromHierarchyMergeStrategy. Descriptors "inherited" are versions of the same file in upper folders in the hierarchy.- Author:
- Dejan Brkic, Michiel Verkaik, Alfonso Vásquez
-
-
Field Summary
-
Fields inherited from class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
baseFolders
-
-
Constructor Summary
Constructors Constructor Description InheritVersionsMergeStrategy()
-
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)-
Methods inherited from class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
getDescriptors, getDescriptors, getIndexAfterBaseFolder, setBaseFolders
-
-
-
-
Method Detail
-
addInheritedDescriptorsInFolder
protected void addInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom)
- Specified by:
addInheritedDescriptorsInFolderin classAbstractInheritFromHierarchyMergeStrategy
-
-