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:
  • Dependency.getExclusions()
  • Constructor Details

    • ExclusionDependencySelector

      Creates a new selector without any exclusions.
    • ExclusionDependencySelector

      public ExclusionDependencySelector(Collection<org.eclipse.aether.graph.Exclusion> exclusions)
      Creates a new selector with the specified exclusions.
      Parameters:
      exclusions - The exclusions, may be null.
  • Method Details

    • selectDependency

      public boolean selectDependency(org.eclipse.aether.graph.Dependency dependency)
      Specified by:
      selectDependency in interface org.eclipse.aether.collection.DependencySelector
    • deriveChildSelector

      public org.eclipse.aether.collection.DependencySelector deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context)
      Specified by:
      deriveChildSelector in interface org.eclipse.aether.collection.DependencySelector
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object