Interface AgentFilter

  • All Known Implementing Classes:
    AgentIdFilter

    public interface AgentFilter
    AgentFilter provides a simple interface to filter for agents.
    • 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.