~ceefour/maven/2.2

« back to all changes in this revision

Viewing changes to maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataSource.java

  • Committer: hboutemy
  • Date: 2011-05-07 14:03:20 UTC
  • Revision ID: svn-v4:13f79535-47bb-0310-9956-ffa450edef68:maven/maven-2/branches/maven-2.2.x:1100540
added more generics

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
import org.apache.maven.artifact.Artifact;
23
23
import org.apache.maven.artifact.repository.ArtifactRepository;
 
24
import org.apache.maven.artifact.versioning.ArtifactVersion;
24
25
 
25
26
import java.util.List;
26
27
 
35
36
{
36
37
    String ROLE = ArtifactMetadataSource.class.getName();
37
38
 
38
 
    ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository, List remoteRepositories )
 
39
    ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository,
 
40
                              List<ArtifactRepository> remoteRepositories )
39
41
        throws ArtifactMetadataRetrievalException;
40
42
 
41
43
    /**
42
44
     * Resolve all relocations in the POM for this artifact, and return the new artifact coordinate.
43
45
     */
44
 
    Artifact retrieveRelocatedArtifact( Artifact artifact, ArtifactRepository localRepository, List remoteRepositories )
 
46
    Artifact retrieveRelocatedArtifact( Artifact artifact, ArtifactRepository localRepository,
 
47
                                        List<ArtifactRepository> remoteRepositories )
45
48
        throws ArtifactMetadataRetrievalException;
46
49
 
47
50
    /**
55
58
     * @return {@link List} $lt; {@link ArtifactVersion} >
56
59
     * @throws ArtifactMetadataRetrievalException in case of error while retrieving repository metadata from the repository.
57
60
     */
58
 
    List retrieveAvailableVersions( Artifact artifact, ArtifactRepository localRepository, List remoteRepositories )
 
61
    List<ArtifactVersion> retrieveAvailableVersions( Artifact artifact, ArtifactRepository localRepository,
 
62
                                                     List<ArtifactRepository> remoteRepositories )
59
63
        throws ArtifactMetadataRetrievalException;
60
64
}
 
 
b'\\ No newline at end of file'