Class FilterAttachableImpl<E>

  • All Implemented Interfaces:
    FilterAttachable<E>

    @Deprecated(since="2022-01-27")
    public final class FilterAttachableImpl<E>
    extends java.lang.Object
    implements FilterAttachable<E>
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    Implementation of FilterAttachable.
    • Constructor Detail

      • FilterAttachableImpl

        public FilterAttachableImpl()
        Deprecated.
    • Method Detail

      • addFilter

        public void addFilter​(Filter<E> newFilter)
        Deprecated.
        Add a filter to end of the filter list.
        Specified by:
        addFilter in interface FilterAttachable<E>
      • getFilterChainDecision

        public FilterReply getFilterChainDecision​(E event)
        Deprecated.
        Loop through the filters in the list. 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.
        Specified by:
        getFilterChainDecision in interface FilterAttachable<E>
      • getCopyOfAttachedFiltersList

        public java.util.List<Filter<E>> getCopyOfAttachedFiltersList()
        Deprecated.
        Description copied from interface: FilterAttachable
        Get a copy of all the filters contained within this FilterAttachable object.
        Specified by:
        getCopyOfAttachedFiltersList in interface FilterAttachable<E>
        Returns:
        all attached filters as a list