public final class AndDependencySelector extends Object implements DependencySelector
AND.| Constructor and Description |
|---|
AndDependencySelector(Collection<DependencySelector> selectors)
Creates a new selector from the specified selectors.
|
AndDependencySelector(DependencySelector... selectors)
Creates a new selector from the specified selectors.
|
| Modifier and Type | Method and Description |
|---|---|
DependencySelector |
deriveChildSelector(DependencyCollectionContext context)
Derives a dependency selector for the specified collection context.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static DependencySelector |
newInstance(DependencySelector selector1,
DependencySelector selector2)
Creates a new selector from the specified selectors.
|
boolean |
selectDependency(Dependency dependency)
Decides whether the specified dependency should be included in the dependency graph.
|
public AndDependencySelector(DependencySelector... selectors)
selectors - The selectors to combine, may be null.public AndDependencySelector(Collection<DependencySelector> selectors)
selectors - The selectors to combine, may be null.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)
DependencySelectorselectDependency in interface DependencySelectordependency - The dependency to check, 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)
DependencySelectorderiveChildSelector in interface DependencySelectorcontext - The dependency collection context, must not be null.null.Copyright © 2010-2013 The Eclipse Foundation. All Rights Reserved.