1
2
3
4
5
6 package org.apache.maven.artifact.repository.metadata;
7
8
9
10
11
12
13
14 @SuppressWarnings( "all" )
15 @Deprecated
16 public class Plugin
17 implements java.io.Serializable, java.lang.Cloneable
18 {
19
20
21
22
23
24
25
26
27 private String name;
28
29
30
31
32
33 private String prefix;
34
35
36
37
38 private String artifactId;
39
40
41
42
43
44
45
46
47
48
49
50 public Plugin clone()
51 {
52 try
53 {
54 Plugin copy = (Plugin) super.clone();
55
56 return copy;
57 }
58 catch ( java.lang.Exception ex )
59 {
60 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
61 + " does not support clone()" ).initCause( ex );
62 }
63 }
64
65
66
67
68
69
70 public String getArtifactId()
71 {
72 return this.artifactId;
73 }
74
75
76
77
78
79
80 public String getName()
81 {
82 return this.name;
83 }
84
85
86
87
88
89
90
91 public String getPrefix()
92 {
93 return this.prefix;
94 }
95
96
97
98
99
100
101 public void setArtifactId( String artifactId )
102 {
103 this.artifactId = artifactId;
104 }
105
106
107
108
109
110
111 public void setName( String name )
112 {
113 this.name = name;
114 }
115
116
117
118
119
120
121
122 public void setPrefix( String prefix )
123 {
124 this.prefix = prefix;
125 }
126
127 }