@ConsumerType
public interface CollectionInheritanceDecider
CollectionInheritanceDecider is an SPI which should be used by
all ConfigurationResourceResolvingStrategy implementations if they
support inheritance for collections.| Modifier and Type | Method and Description |
|---|---|
InheritanceDecision |
decide(org.apache.sling.api.resource.Resource resource,
String bucketName)
Decide whether the provided resource should be included in the collection.
|
@CheckForNull InheritanceDecision decide(@Nonnull org.apache.sling.api.resource.Resource resource, @Nonnull String bucketName)
null.bucketName - The bucket nameresource - The resourcenullCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.