Package com.day.cq.replication
Interface AgentFilter
-
- All Known Implementing Classes:
AgentIdFilter
public interface AgentFilter
AgentFilter
provides a simple interface to filter for agents.
-
-
Field Summary
Fields Modifier and Type Field Description static AgentFilter
DEFAULT
Default filter that includes all non-specific agents.static AgentFilter
OUTBOX_AGENT_FILTER
Default filter that includes all agents that 'are triggered on distribute', i.e.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isIncluded(Agent agent)
Checks if the given agent is included by this filter.
-
-
-
Field Detail
-
DEFAULT
static final AgentFilter DEFAULT
Default filter that includes all non-specific agents.
-
OUTBOX_AGENT_FILTER
static final AgentFilter OUTBOX_AGENT_FILTER
Default filter that includes all agents that 'are triggered on distribute', i.e. are outbox agents.
-
-
Method Detail
-
isIncluded
boolean isIncluded(Agent agent)
Checks if the given agent is included by this filter.- Parameters:
agent
- the agent to check.- Returns:
true
if the given agent is included.
-
-