View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.4.1 on 2013-02-24 03:31:03,
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  @SuppressWarnings( "all" )
16  public class Plugin
17      implements java.io.Serializable, java.lang.Cloneable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * Display name for the plugin.
26       */
27      private String name;
28  
29      /**
30       * The plugin invocation prefix (i.e. eclipse for
31       * eclipse:eclipse).
32       */
33      private String prefix;
34  
35      /**
36       * The plugin artifactId.
37       */
38      private String artifactId;
39  
40  
41        //-----------/
42       //- Methods -/
43      //-----------/
44  
45      /**
46       * Method clone.
47       * 
48       * @return Plugin
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      } //-- Plugin clone()
64  
65      /**
66       * Get the plugin artifactId.
67       * 
68       * @return String
69       */
70      public String getArtifactId()
71      {
72          return this.artifactId;
73      } //-- String getArtifactId()
74  
75      /**
76       * Get display name for the plugin.
77       * 
78       * @return String
79       */
80      public String getName()
81      {
82          return this.name;
83      } //-- String getName()
84  
85      /**
86       * Get the plugin invocation prefix (i.e. eclipse for
87       * eclipse:eclipse).
88       * 
89       * @return String
90       */
91      public String getPrefix()
92      {
93          return this.prefix;
94      } //-- String getPrefix()
95  
96      /**
97       * Set the plugin artifactId.
98       * 
99       * @param artifactId
100      */
101     public void setArtifactId( String artifactId )
102     {
103         this.artifactId = artifactId;
104     } //-- void setArtifactId( String )
105 
106     /**
107      * Set display name for the plugin.
108      * 
109      * @param name
110      */
111     public void setName( String name )
112     {
113         this.name = name;
114     } //-- void setName( String )
115 
116     /**
117      * Set the plugin invocation prefix (i.e. eclipse for
118      * eclipse:eclipse).
119      * 
120      * @param prefix
121      */
122     public void setPrefix( String prefix )
123     {
124         this.prefix = prefix;
125     } //-- void setPrefix( String )
126 
127 }