1 package org.apache.maven.plugin.prefix.internal;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.model.Plugin;
23 import org.apache.maven.plugin.prefix.PluginPrefixResult;
24 import org.eclipse.aether.repository.ArtifactRepository;
25
26
27
28
29
30
31
32 class DefaultPluginPrefixResult
33 implements PluginPrefixResult
34 {
35
36 private String groupId;
37
38 private String artifactId;
39
40 private ArtifactRepository repository;
41
42 public DefaultPluginPrefixResult()
43 {
44
45 }
46
47 public DefaultPluginPrefixResult( Plugin plugin )
48 {
49 groupId = plugin.getGroupId();
50 artifactId = plugin.getArtifactId();
51 }
52
53 public DefaultPluginPrefixResult( String groupId, String artifactId, ArtifactRepository repository )
54 {
55 this.groupId = groupId;
56 this.artifactId = artifactId;
57 this.repository = repository;
58 }
59
60 public String getGroupId()
61 {
62 return groupId;
63 }
64
65 public void setGroupId( String groupId )
66 {
67 this.groupId = groupId;
68 }
69
70 public String getArtifactId()
71 {
72 return artifactId;
73 }
74
75 public void setArtifactId( String artifactId )
76 {
77 this.artifactId = artifactId;
78 }
79
80 public ArtifactRepository getRepository()
81 {
82 return repository;
83 }
84
85 public void setRepository( ArtifactRepository repository )
86 {
87 this.repository = repository;
88 }
89
90 }