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 ClassesModifier and TypeClassDescriptionstatic enumAll: All Enablied Dispatcher Flush Agents. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DispatcherFlushFilterstatic final DispatcherFlushFilterstatic final DispatcherFlushFilterFields inherited from interface com.day.cq.replication.AgentFilter
DEFAULT, OUTBOX_AGENT_FILTER -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor; Same as: new DispatcherFlushFilter(FlushType.All);.Targets a set of Dispatcher Flush agents based on the parameter flushType. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Dispatcher FlushType this filter was created with.final booleanisIncluded(com.day.cq.replication.Agent agent) Checks if the @agent is considered an active Flush agent (Serialization Type ~> Flush and is enabled).
-
Field Details
-
ALL
-
HIERARCHICAL
-
RESOURCE_ONLY
-
-
Constructor Details
-
DispatcherFlushFilter
public DispatcherFlushFilter()Default constructor; Same as: new DispatcherFlushFilter(FlushType.All);. -
DispatcherFlushFilter
Targets a set of Dispatcher Flush agents based on the parameter flushType.- Parameters:
flushType- The type of Flush agents this Agent should target
-
-
Method Details
-
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
Returns the Dispatcher FlushType this filter was created with.- Returns:
- this filter's dispatcher flushType
-