Interface FilterAttachable<E>

All Known Subinterfaces:
Appender<E>
All Known Implementing Classes:
AbstractServerSocketAppender, AbstractSocketAppender, AbstractSSLSocketAppender, AppenderBase, AsyncAppender, AsyncAppenderBase, ConsoleAppender, CyclicBufferAppender, FileAppender, FilterAttachableImpl, ListAppender, NOPAppender, OutputStreamAppender, RollingFileAppender, ServerSocketAppender, SiftingAppender, SiftingAppenderBase, SMTPAppender, SMTPAppenderBase, SocketAppender, SSLServerSocketAppender, SSLServerSocketAppenderBase, SSLSocketAppender, SyslogAppender, SyslogAppenderBase, UnsynchronizedAppenderBase

@Deprecated(since="2022-01-27") public interface FilterAttachable<E>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Interface for attaching filters to objects.
  • Method Details

    • addFilter

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

      void clearAllFilters()
      Deprecated.
    • getCopyOfAttachedFiltersList

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

      FilterReply getFilterChainDecision(E event)
      Deprecated.
      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.