public class DirectScopeDependencySelector extends Object implements org.eclipse.aether.collection.DependencySelector
Dependency.getScope()
Constructor and Description |
---|
DirectScopeDependencySelector(String scope) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.collection.DependencySelector |
deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context)
Derives a dependency selector for the specified collection context.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
selectDependency(org.eclipse.aether.graph.Dependency dependency)
Decides whether the specified dependency should be included in the dependency graph.
|
public DirectScopeDependencySelector(String scope)
public boolean selectDependency(org.eclipse.aether.graph.Dependency dependency)
selectDependency
in interface org.eclipse.aether.collection.DependencySelector
dependency
- 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 org.eclipse.aether.collection.DependencySelector deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context)
deriveChildSelector
in interface org.eclipse.aether.collection.DependencySelector
context
- The dependency collection context, must not be null
.null
.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.