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 java.lang.Object implements org.eclipse.aether.collection.DependencySelector
A dependency selector that applies exclusions based on artifact coordinates.- See Also:
Dependency.getExclusions()
-
-
Constructor Summary
Constructors Constructor Description ExclusionDependencySelector()
Creates a new selector without any exclusions.ExclusionDependencySelector(java.util.Collection<org.eclipse.aether.graph.Exclusion> exclusions)
Creates a new selector with the specified exclusions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.aether.collection.DependencySelector
deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context)
boolean
equals(java.lang.Object obj)
int
hashCode()
boolean
selectDependency(org.eclipse.aether.graph.Dependency dependency)
-
-
-
Constructor Detail
-
ExclusionDependencySelector
public ExclusionDependencySelector()
Creates a new selector without any exclusions.
-
ExclusionDependencySelector
public ExclusionDependencySelector(java.util.Collection<org.eclipse.aether.graph.Exclusion> exclusions)
Creates a new selector with the specified exclusions.- Parameters:
exclusions
- The exclusions, may benull
.
-
-
Method Detail
-
selectDependency
public boolean selectDependency(org.eclipse.aether.graph.Dependency dependency)
- 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
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-