Class NotDependencyFilter

java.lang.Object
org.eclipse.aether.util.filter.NotDependencyFilter
All Implemented Interfaces:
org.eclipse.aether.graph.DependencyFilter

public final class NotDependencyFilter extends Object implements org.eclipse.aether.graph.DependencyFilter
A dependency filter that negates another filter.
  • Constructor Summary

    Constructors
    Constructor
    Description
    NotDependencyFilter(org.eclipse.aether.graph.DependencyFilter filter)
    Creates a new filter negatint the specified filter.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(org.eclipse.aether.graph.DependencyNode node, List<org.eclipse.aether.graph.DependencyNode> parents)
     
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NotDependencyFilter

      public NotDependencyFilter(org.eclipse.aether.graph.DependencyFilter filter)
      Creates a new filter negatint the specified filter.
      Parameters:
      filter - The filter to negate, must not be null.
  • Method Details

    • accept

      public boolean accept(org.eclipse.aether.graph.DependencyNode node, List<org.eclipse.aether.graph.DependencyNode> parents)
      Specified by:
      accept in interface org.eclipse.aether.graph.DependencyFilter
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object