org.apache.maven.repository.internal
Class DefaultVersionResolver

java.lang.Object
  extended by 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

Constructor Summary
DefaultVersionResolver()
           
 
Method Summary
 void initService(ServiceLocator locator)
           
 VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request)
           
 DefaultVersionResolver setLogger(Logger logger)
           
 DefaultVersionResolver setMetadataResolver(MetadataResolver metadataResolver)
           
 DefaultVersionResolver setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
           
 DefaultVersionResolver setSyncContextFactory(SyncContextFactory syncContextFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultVersionResolver

public DefaultVersionResolver()
Method Detail

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-2013 The Apache Software Foundation. All Rights Reserved.