org.apache.maven.artifact.deployer
Class SimpleArtifactMetadataSource

java.lang.Object
  extended by org.apache.maven.artifact.deployer.SimpleArtifactMetadataSource
All Implemented Interfaces:
ArtifactMetadataSource

public class SimpleArtifactMetadataSource
extends Object
implements ArtifactMetadataSource

Author:
Jason van Zyl

Constructor Summary
SimpleArtifactMetadataSource()
           
 
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

SimpleArtifactMetadataSource

public SimpleArtifactMetadataSource()
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.