TransformableFilter
public class ExclusionsFilter extends java.lang.Object implements TransformableFilter
org.sonatype.aether.util.filter.ExclusionsDependencyFilter
,
ExclusionsDependencyFilter
Constructor | Description |
---|---|
ExclusionsFilter(java.util.Collection<java.lang.String> excludes) |
The default constructor specifying a collection of keys which must be excluded.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Collection<java.lang.String> |
getExcludes() |
|
<T> T |
transform(FilterTransformer<T> transformer) |
Transform this filter to a tool specific implementation
|
public ExclusionsFilter(java.util.Collection<java.lang.String> excludes)
excludes
- the keys to exclude, may not be null
Artifact.getDependencyConflictId()
public final java.util.Collection<java.lang.String> getExcludes()
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
Copyright © 2018. All rights reserved.