org.apache.maven.repository.internal
Class DefaultVersionRangeResolver

java.lang.Object
  extended by org.apache.maven.repository.internal.DefaultVersionRangeResolver
All Implemented Interfaces:
VersionRangeResolver, Service

@Component(role=org.sonatype.aether.impl.VersionRangeResolver.class)
public class DefaultVersionRangeResolver
extends Object
implements VersionRangeResolver, Service

Author:
Benjamin Bentmann

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

Constructor Detail

DefaultVersionRangeResolver

public DefaultVersionRangeResolver()
Method Detail

initService

public void initService(ServiceLocator locator)
Specified by:
initService in interface Service

setLogger

public DefaultVersionRangeResolver setLogger(Logger logger)

setMetadataResolver

public DefaultVersionRangeResolver setMetadataResolver(MetadataResolver metadataResolver)

setSyncContextFactory

public DefaultVersionRangeResolver setSyncContextFactory(SyncContextFactory syncContextFactory)

setRepositoryEventDispatcher

public DefaultVersionRangeResolver setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)

resolveVersionRange

public VersionRangeResult resolveVersionRange(RepositorySystemSession session,
                                              VersionRangeRequest request)
                                       throws VersionRangeResolutionException
Specified by:
resolveVersionRange in interface VersionRangeResolver
Throws:
VersionRangeResolutionException


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.