Package ch.qos.logback.core.spi
Class FilterAttachableImpl<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.FilterAttachableImpl<E>
-
- All Implemented Interfaces:
FilterAttachable<E>
@Deprecated(since="2022-01-27") public final class FilterAttachableImpl<E> extends Object implements FilterAttachable<E>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Implementation of FilterAttachable.
-
-
Constructor Summary
Constructors Constructor Description FilterAttachableImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addFilter(Filter<E> newFilter)
Deprecated.Add a filter to end of the filter list.void
clearAllFilters()
Deprecated.Clear the filter chainList<Filter<E>>
getCopyOfAttachedFiltersList()
Deprecated.Get a copy of all the filters contained within this FilterAttachable object.FilterReply
getFilterChainDecision(E event)
Deprecated.Loop through the filters in the list.
-
-
-
Method Detail
-
addFilter
public void addFilter(Filter<E> newFilter)
Deprecated.Add a filter to end of the filter list.- Specified by:
addFilter
in interfaceFilterAttachable<E>
-
clearAllFilters
public void clearAllFilters()
Deprecated.Clear the filter chain- Specified by:
clearAllFilters
in interfaceFilterAttachable<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 interfaceFilterAttachable<E>
-
getCopyOfAttachedFiltersList
public 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 interfaceFilterAttachable<E>
- Returns:
- all attached filters as a list
-
-