|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.util.graph.selector.ExclusionDependencySelector
public class ExclusionDependencySelector
A dependency selector that applies exclusions based on artifact coordinates.
Dependency.getExclusions()| Constructor Summary | |
|---|---|
ExclusionDependencySelector()
Creates a new selector without any exclusions. |
|
ExclusionDependencySelector(Set<Exclusion> exclusions)
Creates a new selector with the specified exclusions. |
|
| Method Summary | |
|---|---|
DependencySelector |
deriveChildSelector(DependencyCollectionContext context)
Derives a dependency selector for the specified collection context. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
boolean |
selectDependency(Dependency dependency)
Applies exclusions to the specified dependency. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExclusionDependencySelector()
public ExclusionDependencySelector(Set<Exclusion> exclusions)
exclusions - The exclusions, may be null.| Method Detail |
|---|
public boolean selectDependency(Dependency dependency)
DependencySelector
selectDependency in interface DependencySelectordependency - The dependency to filter, must not be null.
false if the dependency should be excluded from the children of the current node, true
otherwise.public DependencySelector deriveChildSelector(DependencyCollectionContext context)
DependencySelector
deriveChildSelector in interface DependencySelectorcontext - The dependency collection context, must not be null.
null.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||