Package ch.qos.logback.core.spi
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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddFilter(Filter<E> newFilter)Deprecated.Add a filter.voidclearAllFilters()Deprecated.java.util.List<Filter<E>>getCopyOfAttachedFiltersList()Deprecated.Get a copy of all the filters contained within this FilterAttachable object.FilterReplygetFilterChainDecision(E event)Deprecated.Loop through the filters in the chain.
-
-
-
Method Detail
-
clearAllFilters
void clearAllFilters()
Deprecated.
-
getCopyOfAttachedFiltersList
java.util.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.
-
-