public class ExclusionDependencySelector extends Object implements org.sonatype.aether.collection.DependencySelector
Constructor and Description |
---|
ExclusionDependencySelector()
Creates a new selector without any exclusions.
|
ExclusionDependencySelector(Collection<org.sonatype.aether.graph.Exclusion> exclusions)
Creates a new selector with the specified exclusions.
|
Modifier and Type | Method and Description |
---|---|
org.sonatype.aether.collection.DependencySelector |
deriveChildSelector(org.sonatype.aether.collection.DependencyCollectionContext context) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
selectDependency(org.sonatype.aether.graph.Dependency dependency) |
public ExclusionDependencySelector()
public ExclusionDependencySelector(Collection<org.sonatype.aether.graph.Exclusion> exclusions)
exclusions
- The exclusions, may be null
.public boolean selectDependency(org.sonatype.aether.graph.Dependency dependency)
selectDependency
in interface org.sonatype.aether.collection.DependencySelector
public org.sonatype.aether.collection.DependencySelector deriveChildSelector(org.sonatype.aether.collection.DependencyCollectionContext context)
deriveChildSelector
in interface org.sonatype.aether.collection.DependencySelector
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.