public final class FilterAttachableImpl<E> extends java.lang.Object implements FilterAttachable<E>
| Constructor and Description |
|---|
FilterAttachableImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(Filter<E> newFilter)
Add a filter to end of the filter list.
|
void |
clearAllFilters()
Clear the filter chain
|
java.util.List<Filter<E>> |
getCopyOfAttachedFiltersList()
Get a copy of all the filters contained within this FilterAttachable
object.
|
FilterReply |
getFilterChainDecision(E event)
Loop through the filters in the list.
|
public void addFilter(Filter<E> newFilter)
addFilter in interface FilterAttachable<E>public void clearAllFilters()
clearAllFilters in interface FilterAttachable<E>public FilterReply getFilterChainDecision(E event)
getFilterChainDecision in interface FilterAttachable<E>public java.util.List<Filter<E>> getCopyOfAttachedFiltersList()
FilterAttachablegetCopyOfAttachedFiltersList in interface FilterAttachable<E>