Class AgentIdFilter

  • All Implemented Interfaces:
    AgentFilter

    public class AgentIdFilter
    extends java.lang.Object
    implements AgentFilter
    Agent filter that filters for agent names.
    • Constructor Summary

      Constructors 
      Constructor Description
      AgentIdFilter​(java.lang.String... ids)
      Creates a new filter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isIncluded​(Agent agent)
      Checks if the given agent is included by this filter.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AgentIdFilter

        public AgentIdFilter​(java.lang.String... ids)
        Creates a new filter.
        Parameters:
        ids - the ids to filter for.
    • Method Detail

      • isIncluded

        public boolean isIncluded​(Agent agent)
        Checks if the given agent is included by this filter.
        Specified by:
        isIncluded in interface AgentFilter
        Parameters:
        agent - the agent to check.
        Returns:
        true if the given agent id is included in this filter.