public class AndFilter extends java.lang.Object implements TransformableFilter
AND
.org.sonatype.aether.util.filter.AndDependencyFilter
,
AndDependencyFilter
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<TransformableFilter> |
filters |
Constructor and Description |
---|
AndFilter(java.util.Collection<TransformableFilter> filters)
The default constructor specifying a collection of filters which all must be matched.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<TransformableFilter> |
getFilters()
Get the filters
|
<T> T |
transform(FilterTransformer<T> transformer)
Transform this filter to a tool specific implementation
|
private final java.util.Collection<TransformableFilter> filters
public AndFilter(java.util.Collection<TransformableFilter> filters)
filters
- the filters, may not be null
public java.util.Collection<TransformableFilter> getFilters()
null
public <T> T transform(FilterTransformer<T> transformer)
transform
in interface TransformableFilter
T
- the interface of the tool specific filtertransformer
- the transformer, may not be null
null