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