Interface FilterAttachable<E>

    • Method Detail

      • addFilter

        void addFilter​(Filter<E> newFilter)
        Add a filter.
      • clearAllFilters

        void clearAllFilters()
      • getCopyOfAttachedFiltersList

        List<Filter<E>> getCopyOfAttachedFiltersList()
        Get a copy of all the filters contained within this FilterAttachable object.
        all attached filters as a list
      • getFilterChainDecision

        FilterReply getFilterChainDecision​(E event)
        Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned.