// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.11,
// any modifications will be overwritten.
// ==============================================================

package org.apache.maven.artifact.repository.metadata;

Mapping information for a single plugin within this group.
Version:$Revision$ $Date$
/** * Mapping information for a single plugin within this group. * * @version $Revision$ $Date$ */
@SuppressWarnings( "all" ) public class Plugin implements java.io.Serializable, java.lang.Cloneable { //--------------------------/ //- Class/Member Variables -/ //--------------------------/
Display name for the plugin.
/** * Display name for the plugin. */
private String name;
The plugin invocation prefix (i.e. eclipse for eclipse:eclipse).
/** * The plugin invocation prefix (i.e. eclipse for * eclipse:eclipse). */
private String prefix;
The plugin artifactId.
/** * The plugin artifactId. */
private String artifactId; //-----------/ //- Methods -/ //-----------/
Method clone.
Returns:Plugin
/** * Method clone. * * @return Plugin */
public Plugin clone() { try { Plugin copy = (Plugin) super.clone(); return copy; } catch ( java.lang.Exception ex ) { throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() + " does not support clone()" ).initCause( ex ); } } //-- Plugin clone()
Get the plugin artifactId.
Returns:String
/** * Get the plugin artifactId. * * @return String */
public String getArtifactId() { return this.artifactId; } //-- String getArtifactId()
Get display name for the plugin.
Returns:String
/** * Get display name for the plugin. * * @return String */
public String getName() { return this.name; } //-- String getName()
Get the plugin invocation prefix (i.e. eclipse for eclipse:eclipse).
Returns:String
/** * Get the plugin invocation prefix (i.e. eclipse for * eclipse:eclipse). * * @return String */
public String getPrefix() { return this.prefix; } //-- String getPrefix()
Set the plugin artifactId.
Params:
  • artifactId –
/** * Set the plugin artifactId. * * @param artifactId */
public void setArtifactId( String artifactId ) { this.artifactId = artifactId; } //-- void setArtifactId( String )
Set display name for the plugin.
Params:
  • name –
/** * Set display name for the plugin. * * @param name */
public void setName( String name ) { this.name = name; } //-- void setName( String )
Set the plugin invocation prefix (i.e. eclipse for eclipse:eclipse).
Params:
  • prefix –
/** * Set the plugin invocation prefix (i.e. eclipse for * eclipse:eclipse). * * @param prefix */
public void setPrefix( String prefix ) { this.prefix = prefix; } //-- void setPrefix( String ) }