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
Implementation of
AbstractInheritFromHierarchyMergeStrategy. 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
InheritVersionsMergeStrategy
public InheritVersionsMergeStrategy()
-
-
Method Details
-
addInheritedDescriptorsInFolder
protected void addInheritedDescriptorsInFolder(Context context, CachingOptions cachingOptions, List<MergeableDescriptor> inheritedDescriptors, String folder, String mainDescriptorUrl, org.dom4j.Document mainDescriptorDom) - Specified by:
addInheritedDescriptorsInFolderin classAbstractInheritFromHierarchyMergeStrategy
-