Package com.day.cq.replication
Interface ReplicationContentFilterFactory
-
public interface ReplicationContentFilterFactory
AReplicationContentFilterFactory
creates a newReplicationContentFilter
s based on a givenReplicationAction
. EachContentBuilder
gets the filter chain as aReplicationContentFilterChain
set as a parameter with the nameContentBuilder.PARAMETER_CONTENT_FILER_CHAIN
. TheContentBuilder
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplicationContentFilter
createFilter(ReplicationAction action)
Creates a newReplicationContentFilter
specific to the givenReplicationAction
.
-
-
-
Method Detail
-
createFilter
ReplicationContentFilter createFilter(ReplicationAction action)
Creates a newReplicationContentFilter
specific to the givenReplicationAction
.- Parameters:
action
- TheReplicationAction
to consider.- Returns:
- A
ReplicationContentFilter
ornull
if no filter is provided for the givenReplicationAction
.
-
-