1 package org.apache.maven.repository.metadata;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.util.List;
23
24 import org.apache.maven.artifact.repository.ArtifactRepository;
25
26
27 public class MetadataResolutionRequest
28 {
29 protected ArtifactMetadata query;
30 protected ArtifactRepository localRepository;
31 protected List<ArtifactRepository> remoteRepositories;
32
33
34 public MetadataResolutionRequest()
35 {
36 }
37
38
39 public MetadataResolutionRequest( ArtifactMetadata query, ArtifactRepository localRepository,
40 List<ArtifactRepository> remoteRepositories )
41 {
42 this.query = query;
43 this.localRepository = localRepository;
44 this.remoteRepositories = remoteRepositories;
45 }
46
47
48 public ArtifactMetadata getQuery()
49 {
50 return query;
51 }
52
53 public void setQuery( ArtifactMetadata query )
54 {
55 this.query = query;
56 }
57
58 public ArtifactRepository getLocalRepository()
59 {
60 return localRepository;
61 }
62
63 public void setLocalRepository( ArtifactRepository localRepository )
64 {
65 this.localRepository = localRepository;
66 }
67
68 public List<ArtifactRepository> getRemoteRepositories()
69 {
70 return remoteRepositories;
71 }
72
73 public void setRemoteRepositories( List<ArtifactRepository> remoteRepositories )
74 {
75 this.remoteRepositories = remoteRepositories;
76 }
77
78
79 }