public final class ScopeDependencySelector extends Object implements org.eclipse.aether.collection.DependencySelector
deriveChildSelector(DependencyCollectionContext)
.Dependency.getScope()
Constructor and Description |
---|
ScopeDependencySelector(Collection<String> included,
Collection<String> excluded)
Creates a new selector using the specified includes and excludes.
|
ScopeDependencySelector(String... excluded)
Creates a new selector using the specified excludes.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.collection.DependencySelector |
deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
selectDependency(org.eclipse.aether.graph.Dependency dependency) |
public ScopeDependencySelector(Collection<String> included, Collection<String> excluded)
included
- The set of scopes to include, may be null
or
empty to include any scope.excluded
- The set of scopes to exclude, may be null
or
empty to exclude no scope.public ScopeDependencySelector(String... excluded)
excluded
- The set of scopes to exclude, may be null
or
empty to exclude no scope.public boolean selectDependency(org.eclipse.aether.graph.Dependency dependency)
selectDependency
in interface org.eclipse.aether.collection.DependencySelector
public org.eclipse.aether.collection.DependencySelector deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context)
deriveChildSelector
in interface org.eclipse.aether.collection.DependencySelector
Copyright © 2016 Nuxeo SA. All Rights Reserved.