org.apache.maven.artifact.deployer
Class SimpleArtifactMetadataSource

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

public class SimpleArtifactMetadataSource
extends Object
implements org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource

Author:
Jason van Zyl

Constructor Summary
SimpleArtifactMetadataSource()
           
 
Method Summary
 org.apache.maven.repository.legacy.metadata.ResolutionGroup retrieve(Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
           
 org.apache.maven.repository.legacy.metadata.ResolutionGroup retrieve(org.apache.maven.repository.legacy.metadata.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 org.apache.maven.repository.legacy.metadata.ResolutionGroup retrieve(Artifact artifact,
                                                                            ArtifactRepository localRepository,
                                                                            List<ArtifactRepository> remoteRepositories)
                                                                     throws org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException
Specified by:
retrieve in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource
Throws:
org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException

retrieveAvailableVersions

public List<ArtifactVersion> retrieveAvailableVersions(Artifact artifact,
                                                       ArtifactRepository localRepository,
                                                       List<ArtifactRepository> remoteRepositories)
                                                throws org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException
Specified by:
retrieveAvailableVersions in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource
Throws:
org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException

retrieveAvailableVersionsFromDeploymentRepository

public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact,
                                                                               ArtifactRepository localRepository,
                                                                               ArtifactRepository remoteRepository)
                                                                        throws org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException
Specified by:
retrieveAvailableVersionsFromDeploymentRepository in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource
Throws:
org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException

retrieve

public org.apache.maven.repository.legacy.metadata.ResolutionGroup retrieve(org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest request)
                                                                     throws org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException
Specified by:
retrieve in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource
Throws:
org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException


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