public final class ArtifactUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<Artifact> |
checkDependencies(Set<Artifact> dependencies,
List<String> thePatterns)
Checks the set of dependencies against the list of patterns.
|
static Set<Artifact> |
getAllDescendants(DependencyNode node) |
public static Set<Artifact> getAllDescendants(DependencyNode node)
public static Set<Artifact> checkDependencies(Set<Artifact> dependencies, List<String> thePatterns) throws EnforcerRuleException
thePatterns - the patternsdependencies - the dependenciesnullEnforcerRuleException - the enforcer rule exceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.