Class StaticDependencySelector
java.lang.Object
org.eclipse.aether.util.graph.selector.StaticDependencySelector
- All Implemented Interfaces:
org.eclipse.aether.collection.DependencySelector
public final class StaticDependencySelector
extends Object
implements org.eclipse.aether.collection.DependencySelector
A dependency selector that always includes or excludes dependencies.
-
Constructor Summary
ConstructorDescriptionStaticDependencySelector
(boolean select) Creates a new selector with the specified selection behavior. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.collection.DependencySelector
deriveChildSelector
(org.eclipse.aether.collection.DependencyCollectionContext context) boolean
int
hashCode()
boolean
selectDependency
(org.eclipse.aether.graph.Dependency dependency) toString()
-
Constructor Details
-
StaticDependencySelector
Creates a new selector with the specified selection behavior.- Parameters:
select
-true
to select all dependencies,false
to exclude all dependencies.
-
-
Method Details
-
selectDependency
- Specified by:
selectDependency
in interfaceorg.eclipse.aether.collection.DependencySelector
-
deriveChildSelector
public org.eclipse.aether.collection.DependencySelector deriveChildSelector(org.eclipse.aether.collection.DependencyCollectionContext context) - Specified by:
deriveChildSelector
in interfaceorg.eclipse.aether.collection.DependencySelector
-
equals
-
hashCode
-
toString
-