@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 |
---|---|
@Nullable InheritanceDecision |
decide(@NotNull org.apache.sling.api.resource.Resource resource,
@NotNull String bucketName)
Decide whether the provided resource should be included in the collection.
|
@Nullable @Nullable InheritanceDecision decide(@NotNull @NotNull org.apache.sling.api.resource.Resource resource, @NotNull @NotNull String bucketName)
null
.bucketName
- The bucket nameresource
- The resourcenull
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.