Modifier and Type | Class and Description |
---|---|
class |
CompositeFilter<T>
Represents a filter which ORs together a collection of filters,
returning true if any of the filters are true
|
Modifier and Type | Method and Description |
---|---|
static <T> Filter<T> |
Filters.compositeFilter(java.util.List<Filter<T>> filters) |
static Filter<java.lang.String> |
Filters.createStringFilter(java.lang.String text)
Returns a String pattern matching filter using ! for not and * for any characters
|
static <T> Filter<T> |
Filters.falseFilter() |
static <T> Filter<T> |
Filters.not(Filter<T> filter) |
static <T> Filter<T> |
Filters.or(Filter<T>... filters) |
static <T> Filter<T> |
Filters.trueFilter() |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
Filters.isEmpty(Filter<T> filter) |
static <T> Filter<T> |
Filters.not(Filter<T> filter) |
static <T> Filter<T> |
Filters.or(Filter<T>... filters) |
Modifier and Type | Method and Description |
---|---|
static <T> Filter<T> |
Filters.compositeFilter(java.util.List<Filter<T>> filters) |
static <T> boolean |
Filters.matches(T value,
java.util.List<? extends Filter<T>> filters)
Returns true if any of the filters matches the given value
|
static <T> boolean |
Filters.matches(T value,
java.util.List<? extends Filter<T>> includeFilters,
java.util.List<? extends Filter<T>> excludeFilters)
Return true if the value matches an include filter if specified and does not match an exclude filter
|
static <T> boolean |
Filters.matches(T value,
java.util.List<? extends Filter<T>> includeFilters,
java.util.List<? extends Filter<T>> excludeFilters)
Return true if the value matches an include filter if specified and does not match an exclude filter
|
Constructor and Description |
---|
CompositeFilter(java.util.Collection<Filter<T>> filters) |
Copyright © 2016 Red Hat. All Rights Reserved.