Class ContextualAncestorSnapshotVersionFilter
java.lang.Object
org.eclipse.aether.util.graph.version.ContextualAncestorSnapshotVersionFilter
- All Implemented Interfaces:
org.eclipse.aether.collection.VersionFilter
public class ContextualAncestorSnapshotVersionFilter
extends Object
implements org.eclipse.aether.collection.VersionFilter
A version filter that blocks "*-SNAPSHOT" versions if the
VersionFilter.VersionFilterContext.getDependency() ancestor whose range is being filtered is not a snapshot.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.collection.VersionFilter
org.eclipse.aether.collection.VersionFilter.VersionFilterContext -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of this version filter. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.collection.VersionFilterderiveChildFilter(org.eclipse.aether.collection.DependencyCollectionContext context) booleanvoidfilterVersions(org.eclipse.aether.collection.VersionFilter.VersionFilterContext context) inthashCode()
-
Constructor Details
-
ContextualAncestorSnapshotVersionFilter
Creates a new instance of this version filter.
-
-
Method Details
-
filterVersions
public void filterVersions(org.eclipse.aether.collection.VersionFilter.VersionFilterContext context) - Specified by:
filterVersionsin interfaceorg.eclipse.aether.collection.VersionFilter
-
deriveChildFilter
public org.eclipse.aether.collection.VersionFilter deriveChildFilter(org.eclipse.aether.collection.DependencyCollectionContext context) - Specified by:
deriveChildFilterin interfaceorg.eclipse.aether.collection.VersionFilter
-
equals
-
hashCode
-