Class AgentIdFilter

  • All Implemented Interfaces:

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

      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.
        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
        agent - the agent to check.
        true if the given agent id is included in this filter.