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 null
public Collection<TransformableFilter> getFilters()
null
public <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 implementation
transform
in interface TransformableFilter
T
- the interface of the tool specific filtertransformer
- the tool specific transformer, may not be null
null
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.