Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Plugin |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-09-09 03:03:24, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.artifact.repository.metadata; | |
9 | ||
10 | /** | |
11 | * Mapping information for a single plugin within this group. | |
12 | * | |
13 | * @version $Revision$ $Date$ | |
14 | */ | |
15 | 0 | public class Plugin |
16 | implements java.io.Serializable | |
17 | { | |
18 | ||
19 | //--------------------------/ | |
20 | //- Class/Member Variables -/ | |
21 | //--------------------------/ | |
22 | ||
23 | /** | |
24 | * Display name for the plugin. | |
25 | */ | |
26 | private String name; | |
27 | ||
28 | /** | |
29 | * The plugin invocation prefix (i.e. eclipse for | |
30 | * eclipse:eclipse). | |
31 | */ | |
32 | private String prefix; | |
33 | ||
34 | /** | |
35 | * The plugin artifactId. | |
36 | */ | |
37 | private String artifactId; | |
38 | ||
39 | ||
40 | //-----------/ | |
41 | //- Methods -/ | |
42 | //-----------/ | |
43 | ||
44 | /** | |
45 | * Get the plugin artifactId. | |
46 | * | |
47 | * @return String | |
48 | */ | |
49 | public String getArtifactId() | |
50 | { | |
51 | 0 | return this.artifactId; |
52 | } //-- String getArtifactId() | |
53 | ||
54 | /** | |
55 | * Get display name for the plugin. | |
56 | * | |
57 | * @return String | |
58 | */ | |
59 | public String getName() | |
60 | { | |
61 | 0 | return this.name; |
62 | } //-- String getName() | |
63 | ||
64 | /** | |
65 | * Get the plugin invocation prefix (i.e. eclipse for | |
66 | * eclipse:eclipse). | |
67 | * | |
68 | * @return String | |
69 | */ | |
70 | public String getPrefix() | |
71 | { | |
72 | 0 | return this.prefix; |
73 | } //-- String getPrefix() | |
74 | ||
75 | /** | |
76 | * Set the plugin artifactId. | |
77 | * | |
78 | * @param artifactId | |
79 | */ | |
80 | public void setArtifactId( String artifactId ) | |
81 | { | |
82 | 0 | this.artifactId = artifactId; |
83 | 0 | } //-- void setArtifactId( String ) |
84 | ||
85 | /** | |
86 | * Set display name for the plugin. | |
87 | * | |
88 | * @param name | |
89 | */ | |
90 | public void setName( String name ) | |
91 | { | |
92 | 0 | this.name = name; |
93 | 0 | } //-- void setName( String ) |
94 | ||
95 | /** | |
96 | * Set the plugin invocation prefix (i.e. eclipse for | |
97 | * eclipse:eclipse). | |
98 | * | |
99 | * @param prefix | |
100 | */ | |
101 | public void setPrefix( String prefix ) | |
102 | { | |
103 | 0 | this.prefix = prefix; |
104 | 0 | } //-- void setPrefix( String ) |
105 | ||
106 | ||
107 | } |