Class DispatcherFlushFilter
- java.lang.Object
-
- com.adobe.acs.commons.replication.dispatcher.DispatcherFlushFilter
-
- All Implemented Interfaces:
com.day.cq.replication.AgentFilter
@ProviderType public class DispatcherFlushFilter extends Object implements com.day.cq.replication.AgentFilter
Replication Agent Filter used to identify Flush agents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDispatcherFlushFilter.FlushTypeAll: All Enablied Dispatcher Flush Agents.
-
Field Summary
Fields Modifier and Type Field Description static DispatcherFlushFilterALLstatic DispatcherFlushFilterHIERARCHICALstatic DispatcherFlushFilterRESOURCE_ONLY
-
Constructor Summary
Constructors Constructor Description DispatcherFlushFilter()Default constructor; Same as: new DispatcherFlushFilter(FlushType.All);.DispatcherFlushFilter(DispatcherFlushFilter.FlushType flushType)Targets a set of Dispatcher Flush agents based on the parameter flushType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DispatcherFlushFilter.FlushTypegetFlushType()Returns the Dispatcher FlushType this filter was created with.booleanisIncluded(com.day.cq.replication.Agent agent)Checks if the @agent is considered an active Flush agent (Serialization Type ~> Flush and is enabled).
-
-
-
Field Detail
-
ALL
public static final DispatcherFlushFilter ALL
-
HIERARCHICAL
public static final DispatcherFlushFilter HIERARCHICAL
-
RESOURCE_ONLY
public static final DispatcherFlushFilter RESOURCE_ONLY
-
-
Constructor Detail
-
DispatcherFlushFilter
public DispatcherFlushFilter()
Default constructor; Same as: new DispatcherFlushFilter(FlushType.All);.
-
DispatcherFlushFilter
public DispatcherFlushFilter(DispatcherFlushFilter.FlushType flushType)
Targets a set of Dispatcher Flush agents based on the parameter flushType.- Parameters:
flushType- The type of Flush agents this Agent should target
-
-
Method Detail
-
isIncluded
public final boolean isIncluded(com.day.cq.replication.Agent agent)
Checks if the @agent is considered an active Flush agent (Serialization Type ~> Flush and is enabled).- Specified by:
isIncludedin interfacecom.day.cq.replication.AgentFilter- Parameters:
agent- the agent to test test- Returns:
- true is is considered an enabled Flush agent
-
getFlushType
public final DispatcherFlushFilter.FlushType getFlushType()
Returns the Dispatcher FlushType this filter was created with.- Returns:
- this filter's dispatcher flushType
-
-