public class OrFilter extends Object implements TransformableFilter
OR.OrDependencyFilter| Constructor and Description |
|---|
OrFilter(Collection<TransformableFilter> filters)
The default constructor specifying a collection of filters of which at least one must match.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<TransformableFilter> |
getFilters()
Get the filters
|
<T> T |
transform(FilterTransformer<T> transformer)
Subclasses should include the following code:
|
public OrFilter(Collection<TransformableFilter> filters)
filters - the filters, may not be nullpublic Collection<TransformableFilter> getFilters()
nullpublic <T> T transform(FilterTransformer<T> transformer)
@Override
public abstract <T> T transform( FilterTransformer<T> transformer )
{
return transformer.transform( this );
}
Transform this filter to a tool specific implementationtransform in interface TransformableFilterT - the interface of the tool specific filtertransformer - the tool specific transformer, may not be nullnullCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.