Class OptionalDependencySelector
java.lang.Object
org.eclipse.aether.util.graph.selector.OptionalDependencySelector
- All Implemented Interfaces:
org.eclipse.aether.collection.DependencySelector
public final class OptionalDependencySelector
extends Object
implements org.eclipse.aether.collection.DependencySelector
A dependency selector that excludes optional dependencies which occur beyond level one of the dependency graph.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new selector to exclude optional transitive dependencies. -
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
-
OptionalDependencySelector
public OptionalDependencySelector()Creates a new selector to exclude optional transitive 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
-