Class EventUserFilter

  • All Implemented Interfaces:
    EventFilter<java.lang.String>

    public class EventUserFilter
    extends java.lang.Object
    implements EventFilter<java.lang.String>
    Implementation of the user filter.
    Author:
    Jamal Kaabi-Mofrad
    • Constructor Summary

      Constructors 
      Constructor Description
      EventUserFilter​(java.lang.String filteredUsersStr, boolean userNamesAreCaseSensitive)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isExcluded​(java.lang.String user)
      Indicates whether the given object should be excluded or not.
      • Methods inherited from class java.lang.Object

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

      • EventUserFilter

        public EventUserFilter​(java.lang.String filteredUsersStr,
                               boolean userNamesAreCaseSensitive)
    • Method Detail

      • isExcluded

        public boolean isExcluded​(java.lang.String user)
        Description copied from interface: EventFilter
        Indicates whether the given object should be excluded or not.
        Specified by:
        isExcluded in interface EventFilter<java.lang.String>
        Parameters:
        user - the object to be checked against filters
        Returns:
        true if it is excluded, otherwise false