1 /* 2 Licensed to the Apache Software Foundation (ASF) under one 3 or more contributor license agreements. See the NOTICE file 4 distributed with this work for additional information 5 regarding copyright ownership. The ASF licenses this file 6 to you under the Apache License, Version 2.0 (the 7 "License"); you may not use this file except in compliance 8 with the License. You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, 13 software distributed under the License is distributed on an 14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 KIND, either express or implied. See the License for the 16 specific language governing permissions and limitations 17 under the License. 18 =================== DO NOT EDIT THIS FILE ==================== 19 Generated by Modello 2.4.0, 20 any modifications will be overwritten. 21 ============================================================== 22 */ 23 24 package org.apache.maven.artifact.repository.metadata; 25 26 /** 27 * Mapping information for a single plugin within this group. 28 * 29 * @version $Revision$ $Date$ 30 */ 31 @SuppressWarnings( "all" ) 32 public class Plugin 33 implements java.io.Serializable, java.lang.Cloneable 34 { 35 36 //--------------------------/ 37 //- Class/Member Variables -/ 38 //--------------------------/ 39 40 /** 41 * Display name for the plugin. 42 */ 43 private String name; 44 45 /** 46 * The plugin invocation prefix (i.e. eclipse for 47 * eclipse:eclipse). 48 */ 49 private String prefix; 50 51 /** 52 * The plugin artifactId. 53 */ 54 private String artifactId; 55 56 57 //-----------/ 58 //- Methods -/ 59 //-----------/ 60 61 /** 62 * Method clone. 63 * 64 * @return Plugin 65 */ 66 public Plugin clone() 67 { 68 try 69 { 70 Plugin copy = (Plugin) super.clone(); 71 72 return copy; 73 } 74 catch ( java.lang.Exception ex ) 75 { 76 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 77 + " does not support clone()" ).initCause( ex ); 78 } 79 } //-- Plugin clone() 80 81 /** 82 * Get the plugin artifactId. 83 * 84 * @return String 85 */ 86 public String getArtifactId() 87 { 88 return this.artifactId; 89 } //-- String getArtifactId() 90 91 /** 92 * Get display name for the plugin. 93 * 94 * @return String 95 */ 96 public String getName() 97 { 98 return this.name; 99 } //-- String getName() 100 101 /** 102 * Get the plugin invocation prefix (i.e. eclipse for 103 * eclipse:eclipse). 104 * 105 * @return String 106 */ 107 public String getPrefix() 108 { 109 return this.prefix; 110 } //-- String getPrefix() 111 112 /** 113 * Set the plugin artifactId. 114 * 115 * @param artifactId a artifactId object. 116 */ 117 public void setArtifactId( String artifactId ) 118 { 119 this.artifactId = artifactId; 120 } //-- void setArtifactId( String ) 121 122 /** 123 * Set display name for the plugin. 124 * 125 * @param name a name object. 126 */ 127 public void setName( String name ) 128 { 129 this.name = name; 130 } //-- void setName( String ) 131 132 /** 133 * Set the plugin invocation prefix (i.e. eclipse for 134 * eclipse:eclipse). 135 * 136 * @param prefix a prefix object. 137 */ 138 public void setPrefix( String prefix ) 139 { 140 this.prefix = prefix; 141 } //-- void setPrefix( String ) 142 143 }