Package org.eclipse.aether.util.filter
Class NotDependencyFilter
- java.lang.Object
-
- org.eclipse.aether.util.filter.NotDependencyFilter
-
- All Implemented Interfaces:
DependencyFilter
public final class NotDependencyFilter extends Object implements DependencyFilter
A dependency filter that negates another filter.
-
-
Constructor Summary
Constructors Constructor Description NotDependencyFilter(DependencyFilter filter)
Creates a new filter negatint the specified filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(DependencyNode node, List<DependencyNode> parents)
boolean
equals(Object obj)
int
hashCode()
-
-
-
Constructor Detail
-
NotDependencyFilter
public NotDependencyFilter(DependencyFilter filter)
Creates a new filter negatint the specified filter.- Parameters:
filter
- The filter to negate, must not benull
.
-
-
Method Detail
-
accept
public boolean accept(DependencyNode node, List<DependencyNode> parents)
- Specified by:
accept
in interfaceDependencyFilter
-
-