Class ExclusionDependencySelector
java.lang.Object
org.eclipse.aether.util.graph.selector.ExclusionDependencySelector
- All Implemented Interfaces:
org.eclipse.aether.collection.DependencySelector
public final class ExclusionDependencySelector
extends Object
implements org.eclipse.aether.collection.DependencySelector
A dependency selector that applies exclusions based on artifact coordinates.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new selector without any exclusions.ExclusionDependencySelector
(Collection<org.eclipse.aether.graph.Exclusion> exclusions) Creates a new selector with the specified exclusions. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.collection.DependencySelector
deriveChildSelector
(org.eclipse.aether.collection.DependencyCollectionContext context) boolean
int
hashCode()
boolean
selectDependency
(org.eclipse.aether.graph.Dependency dependency) toString()
-
Constructor Details
-
ExclusionDependencySelector
public ExclusionDependencySelector()Creates a new selector without any exclusions. -
ExclusionDependencySelector
Creates a new selector with the specified exclusions.- Parameters:
exclusions
- The exclusions, may benull
.
-
-
Method Details
-
selectDependency
- Specified by:
selectDependency
in interfaceorg.eclipse.aether.collection.DependencySelector
-
deriveChildSelector
public org.eclipse.aether.collection.DependencySelector deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context) - Specified by:
deriveChildSelector
in interfaceorg.eclipse.aether.collection.DependencySelector
-
equals
-
hashCode
-
toString
-