|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DependencySelector
Decides what dependencies to include in the dependency graph. Note: For the sake of good performance during
dependency collection, implementations should provide a semantic equals()
method.
RepositorySystemSession.getDependencySelector()
,
RepositorySystem.collectDependencies(org.sonatype.aether.RepositorySystemSession,
CollectRequest)
Method Summary | |
---|---|
DependencySelector |
deriveChildSelector(DependencyCollectionContext context)
Derives a dependency selector for the specified collection context. |
boolean |
selectDependency(Dependency dependency)
Applies exclusions to the specified dependency. |
Method Detail |
---|
boolean selectDependency(Dependency dependency)
dependency
- The dependency to filter, must not be null
.
false
if the dependency should be excluded from the children of the current node, true
otherwise.DependencySelector deriveChildSelector(DependencyCollectionContext context)
context
- The dependency collection context, must not be null
.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |