org.apache.maven.repository.metadata
Class TestMetadataSource

java.lang.Object
  extended by org.apache.maven.repository.metadata.TestMetadataSource
All Implemented Interfaces:
ArtifactMetadataSource

@Component(role=org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource.class)
public class TestMetadataSource
extends Object
implements ArtifactMetadataSource


Constructor Summary
TestMetadataSource()
           
 
Method Summary
 ResolutionGroup retrieve(Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
           
 ResolutionGroup retrieve(MetadataResolutionRequest request)
           
 List<ArtifactVersion> retrieveAvailableVersions(Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
           
 List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMetadataSource

public TestMetadataSource()
Method Detail

retrieve

public ResolutionGroup retrieve(Artifact artifact,
                                ArtifactRepository localRepository,
                                List<ArtifactRepository> remoteRepositories)
                         throws ArtifactMetadataRetrievalException
Specified by:
retrieve in interface ArtifactMetadataSource
Throws:
ArtifactMetadataRetrievalException

retrieveAvailableVersions

public List<ArtifactVersion> retrieveAvailableVersions(Artifact artifact,
                                                       ArtifactRepository localRepository,
                                                       List<ArtifactRepository> remoteRepositories)
                                                throws ArtifactMetadataRetrievalException
Specified by:
retrieveAvailableVersions in interface ArtifactMetadataSource
Throws:
ArtifactMetadataRetrievalException

retrieveAvailableVersionsFromDeploymentRepository

public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact,
                                                                               ArtifactRepository localRepository,
                                                                               ArtifactRepository remoteRepository)
                                                                        throws ArtifactMetadataRetrievalException
Specified by:
retrieveAvailableVersionsFromDeploymentRepository in interface ArtifactMetadataSource
Throws:
ArtifactMetadataRetrievalException

retrieve

public ResolutionGroup retrieve(MetadataResolutionRequest request)
                         throws ArtifactMetadataRetrievalException
Specified by:
retrieve in interface ArtifactMetadataSource
Throws:
ArtifactMetadataRetrievalException


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