public class AndFilter extends Object implements TransformableFilter
AND.AndDependencyFilter| Constructor and Description |
|---|
AndFilter(Collection<TransformableFilter> filters)
The default constructor specifying a collection of filters which all must be matched.
|
| 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 AndFilter(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.