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 final AgentFilter
    Default filter that includes all non-specific agents.
    static final AgentFilter
    Default filter that includes all agents that 'are triggered on distribute', i.e.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the given agent is included by this filter.
  • Field Details

    • 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 Details

    • 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.