Class DefaultVersionRangeResolver
java.lang.Object
org.apache.maven.repository.internal.DefaultVersionRangeResolver
- All Implemented Interfaces:
org.eclipse.aether.impl.VersionRangeResolver
,org.eclipse.aether.spi.locator.Service
@Named
@Singleton
public class DefaultVersionRangeResolver
extends Object
implements org.eclipse.aether.impl.VersionRangeResolver, org.eclipse.aether.spi.locator.Service
- Author:
- Benjamin Bentmann
-
Constructor Summary
ConstructorDescriptionDeprecated.DefaultVersionRangeResolver
(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initService
(org.eclipse.aether.spi.locator.ServiceLocator locator) Deprecated.org.eclipse.aether.resolution.VersionRangeResult
resolveVersionRange
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRangeRequest request) setMetadataResolver
(org.eclipse.aether.impl.MetadataResolver metadataResolver) setRepositoryEventDispatcher
(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) setSyncContextFactory
(org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory)
-
Constructor Details
-
DefaultVersionRangeResolver
Deprecated. -
DefaultVersionRangeResolver
@Inject public DefaultVersionRangeResolver(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher)
-
-
Method Details
-
initService
Deprecated.- Specified by:
initService
in interfaceorg.eclipse.aether.spi.locator.Service
-
setMetadataResolver
public DefaultVersionRangeResolver setMetadataResolver(org.eclipse.aether.impl.MetadataResolver metadataResolver) -
setSyncContextFactory
public DefaultVersionRangeResolver setSyncContextFactory(org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory) -
setRepositoryEventDispatcher
public DefaultVersionRangeResolver setRepositoryEventDispatcher(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) -
resolveVersionRange
public org.eclipse.aether.resolution.VersionRangeResult resolveVersionRange(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRangeRequest request) throws org.eclipse.aether.resolution.VersionRangeResolutionException - Specified by:
resolveVersionRange
in interfaceorg.eclipse.aether.impl.VersionRangeResolver
- Throws:
org.eclipse.aether.resolution.VersionRangeResolutionException
-