Class Plugin
- java.lang.Object
-
- org.apache.maven.artifact.repository.metadata.Plugin
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class Plugin extends java.lang.Object implements java.io.Serializable, java.lang.CloneableMapping information for a single plugin within this group.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Plugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pluginclone()Method clone.java.lang.StringgetArtifactId()Get the plugin artifactId.java.lang.StringgetName()Get display name for the plugin.java.lang.StringgetPrefix()Get the plugin invocation prefix (i.e.voidsetArtifactId(java.lang.String artifactId)Set the plugin artifactId.voidsetName(java.lang.String name)Set display name for the plugin.voidsetPrefix(java.lang.String prefix)Set the plugin invocation prefix (i.e.
-
-
-
Method Detail
-
clone
public Plugin clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- Plugin
-
getArtifactId
public java.lang.String getArtifactId()
Get the plugin artifactId.- Returns:
- String
-
getName
public java.lang.String getName()
Get display name for the plugin.- Returns:
- String
-
getPrefix
public java.lang.String getPrefix()
Get the plugin invocation prefix (i.e. eclipse for eclipse:eclipse).- Returns:
- String
-
setArtifactId
public void setArtifactId(java.lang.String artifactId)
Set the plugin artifactId.- Parameters:
artifactId- a artifactId object.
-
setName
public void setName(java.lang.String name)
Set display name for the plugin.- Parameters:
name- a name object.
-
setPrefix
public void setPrefix(java.lang.String prefix)
Set the plugin invocation prefix (i.e. eclipse for eclipse:eclipse).- Parameters:
prefix- a prefix object.
-
-