com.atlassian.core.util.filter
Class FilterChain<T>
java.lang.Object
com.atlassian.core.util.filter.FilterChain<T>
- All Implemented Interfaces:
- Filter<T>
Deprecated. use the utility methods on Guava's Predicates to combine Predicate
@Deprecated
public class FilterChain<T>
- extends Object
- implements Filter<T>
Composite Filter that applies a series of filters in turn.
By default, the composite filter lets all objects through, so
a composite filter with no filters added,
|
Method Summary |
void |
addFilter(Filter<T> filter)
Deprecated. |
boolean |
isIncluded(T o)
Deprecated. Should an object be allowed through the filter? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterChain
public FilterChain()
- Deprecated.
addFilter
public void addFilter(Filter<T> filter)
- Deprecated.
isIncluded
public boolean isIncluded(T o)
- Deprecated.
- Description copied from interface:
Filter
- Should an object be allowed through the filter?
- Specified by:
isIncluded in interface Filter<T>
- Returns:
- true if the object can pass through the filter, false
if the object is rejected by the filter.
Copyright © 2015 Atlassian. All rights reserved.