Package com.day.cq.replication
Interface ReplicationContentFilterFactory
public interface ReplicationContentFilterFactory
A
ReplicationContentFilterFactory creates a new ReplicationContentFilters
based on a given ReplicationAction. Each ContentBuilder gets the filter chain
as a ReplicationContentFilterChain set as a parameter with the name
ContentBuilder.PARAMETER_CONTENT_FILER_CHAIN.
The ContentBuilder involved in creating the replication
content is using the chain in order to filter content prior to inclusion into the
replication content.
Implementations of this interface must register themselves as an OSGi service in order to be picked up for building the filter list.
-
Method Summary
Modifier and TypeMethodDescriptioncreateFilter(ReplicationAction action) Creates a newReplicationContentFilterspecific to the givenReplicationAction.
-
Method Details
-
createFilter
Creates a newReplicationContentFilterspecific to the givenReplicationAction.- Parameters:
action- TheReplicationActionto consider.- Returns:
- A
ReplicationContentFilterornullif no filter is provided for the givenReplicationAction.
-