Package com.day.cq.replication
Class AgentIdFilter
- java.lang.Object
-
- com.day.cq.replication.AgentIdFilter
-
- All Implemented Interfaces:
AgentFilter
public class AgentIdFilter extends java.lang.Object implements AgentFilter
Agent filter that filters for agent names.
-
-
Field Summary
-
Fields inherited from interface com.day.cq.replication.AgentFilter
DEFAULT, OUTBOX_AGENT_FILTER
-
-
Constructor Summary
Constructors Constructor Description AgentIdFilter(java.lang.String... ids)
Creates a new filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isIncluded(Agent agent)
Checks if the given agent is included by this filter.
-
-
-
Method Detail
-
isIncluded
public boolean isIncluded(Agent agent)
Checks if the given agent is included by this filter.- Specified by:
isIncluded
in interfaceAgentFilter
- Parameters:
agent
- the agent to check.- Returns:
true
if the given agent id is included in this filter.
-
-