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