Class CompositeInheritFromHierarchyMergeStrategy
- java.lang.Object
-
- org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
-
- org.craftercms.core.xml.mergers.impl.strategies.CompositeInheritFromHierarchyMergeStrategy
-
- All Implemented Interfaces:
DescriptorMergeStrategy
public class CompositeInheritFromHierarchyMergeStrategy extends AbstractInheritFromHierarchyMergeStrategy
Implementation ofAbstractInheritFromHierarchyMergeStrategythat delegates to several otherAbstractInheritFromHierarchyMergeStrategys to determine the descriptors to "inherit" from upper levels in the folder hierarchy.- Author:
- Sumer Jabri, Alfonso Vásquez
-
-
Field Summary
-
Fields inherited from class org.craftercms.core.xml.mergers.impl.strategies.AbstractInheritFromHierarchyMergeStrategy
baseFolders
-
-
Constructor Summary
Constructors Constructor Description CompositeInheritFromHierarchyMergeStrategy(List<AbstractInheritFromHierarchyMergeStrategy> strategies)
-
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
-
-
-
-
Constructor Detail
-
CompositeInheritFromHierarchyMergeStrategy
public CompositeInheritFromHierarchyMergeStrategy(List<AbstractInheritFromHierarchyMergeStrategy> strategies)
-
-
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
-
-