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
FieldsModifier and TypeFieldDescriptionstatic final AgentFilterDefault filter that includes all non-specific agents.static final AgentFilterDefault filter that includes all agents that 'are triggered on distribute', i.e. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisIncluded(Agent agent) Checks if the given agent is included by this filter.
-
Field Details
-
DEFAULT
Default filter that includes all non-specific agents. -
OUTBOX_AGENT_FILTER
Default filter that includes all agents that 'are triggered on distribute', i.e. are outbox agents.
-
-
Method Details
-
isIncluded
Checks if the given agent is included by this filter.- Parameters:
agent- the agent to check.- Returns:
trueif the given agent is included.
-