public final class ExclusionDependencySelector extends Object implements DependencySelector
Dependency.getExclusions()| Constructor and Description |
|---|
ExclusionDependencySelector()
Creates a new selector without any exclusions.
|
ExclusionDependencySelector(Collection<Exclusion> exclusions)
Creates a new selector with the specified exclusions.
|
| 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() |
boolean |
selectDependency(Dependency dependency)
Decides whether the specified dependency should be included in the dependency graph.
|
public ExclusionDependencySelector()
public ExclusionDependencySelector(Collection<Exclusion> exclusions)
exclusions - The exclusions, may be 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 if dependencies should be unconditionally
included in the sub graph.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.