|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.util.graph.selector.AndDependencySelector
public class AndDependencySelector
A dependency selector that combines zero or more other selectors using a logical AND.
| Constructor Summary | |
|---|---|
AndDependencySelector(DependencySelector... selectors)
Creates a new selector from the specified selectors. |
|
AndDependencySelector(java.util.Set<DependencySelector> selectors)
Creates a new selector from the specified selectors. |
|
| Method Summary | |
|---|---|
DependencySelector |
deriveChildSelector(DependencyCollectionContext context)
Derives a dependency selector for the specified collection context. |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
static DependencySelector |
newInstance(DependencySelector selector1,
DependencySelector selector2)
Creates a new selector from the specified selectors. |
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 AndDependencySelector(DependencySelector... selectors)
selectors - The selectors to combine, may be null.public AndDependencySelector(java.util.Set<DependencySelector> selectors)
selectors - The selectors to combine, may be null.| Method Detail |
|---|
public static DependencySelector newInstance(DependencySelector selector1,
DependencySelector selector2)
selector1 - The first selector to combine, may be null.selector2 - The first selector to combine, may be null.
null if both selectors were null.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(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||