Class DistributionExportFilter
- java.lang.Object
-
- org.apache.sling.distribution.serialization.DistributionExportFilter
-
public class DistributionExportFilter extends Object
A filter is responsible for storing information about which resources / attributes should be serialized.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DistributionExportFilter.TreeFilter
a filter is responsible for finding the resources that should be serialized unders a certain path
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributionExportFilter
createFilter(DistributionRequest distributionRequest, NavigableMap<String,List<String>> nodeFilters, NavigableMap<String,List<String>> propertyFilters)
create a filter based on a request and global node and property filters@NotNull Set<DistributionExportFilter.TreeFilter>
getNodeFilters()
@NotNull DistributionExportFilter.TreeFilter
getPropertyFilter()
String
toString()
-
-
-
Method Detail
-
getNodeFilters
@NotNull public @NotNull Set<DistributionExportFilter.TreeFilter> getNodeFilters()
-
getPropertyFilter
@NotNull public @NotNull DistributionExportFilter.TreeFilter getPropertyFilter()
-
createFilter
public static DistributionExportFilter createFilter(DistributionRequest distributionRequest, NavigableMap<String,List<String>> nodeFilters, NavigableMap<String,List<String>> propertyFilters)
create a filter based on a request and global node and property filters- Parameters:
distributionRequest
- the requestnodeFilters
- the node level filterspropertyFilters
- the property level filters- Returns:
- a filter
-
-