org.apache.maven.repository.internal
Class DefaultVersionResolver
java.lang.Object
org.apache.maven.repository.internal.DefaultVersionResolver
- All Implemented Interfaces:
- VersionResolver, Service
@Component(role=org.sonatype.aether.impl.VersionResolver.class)
public class DefaultVersionResolver
- extends Object
- implements VersionResolver, Service
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultVersionResolver
public DefaultVersionResolver()
initService
public void initService(ServiceLocator locator)
- Specified by:
initService
in interface Service
setLogger
public DefaultVersionResolver setLogger(Logger logger)
setMetadataResolver
public DefaultVersionResolver setMetadataResolver(MetadataResolver metadataResolver)
setSyncContextFactory
public DefaultVersionResolver setSyncContextFactory(SyncContextFactory syncContextFactory)
setRepositoryEventDispatcher
public DefaultVersionResolver setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
resolveVersion
public VersionResult resolveVersion(RepositorySystemSession session,
VersionRequest request)
throws VersionResolutionException
- Specified by:
resolveVersion
in interface VersionResolver
- Throws:
VersionResolutionException
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.