Package com.day.cq.replication
Interface AgentFilter
-
- All Known Implementing Classes:
AgentIdFilter
public interface AgentFilterAgentFilterprovides a simple interface to filter for agents.
-
-
Field Summary
Fields Modifier and Type Field Description static AgentFilterDEFAULTDefault filter that includes all non-specific agents.static AgentFilterOUTBOX_AGENT_FILTERDefault 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 booleanisIncluded(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:
trueif the given agent is included.
-
-