public final class ExclusionsDependencyFilter extends Object implements DependencyFilter
| Constructor and Description |
|---|
ExclusionsDependencyFilter(Collection<String> excludes)
Creates a new filter using the specified exclude patterns.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(DependencyNode node,
List<DependencyNode> parents) |
boolean |
equals(Object obj) |
int |
hashCode() |
public ExclusionsDependencyFilter(Collection<String> excludes)
groupId:artifactId (recommended) or just artifactId (deprecated).excludes - The exclude patterns, may be null or empty to exclude no artifacts.public boolean accept(DependencyNode node, List<DependencyNode> parents)
accept in interface DependencyFilterCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.