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.Cloneable
Mapping information for a single plugin within this group.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
artifactId
The plugin artifactId.private java.lang.String
name
Display name for the plugin.private java.lang.String
prefix
The plugin invocation prefix (i.e.
-
Constructor Summary
Constructors Constructor Description Plugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Plugin
clone()
Method clone.java.lang.String
getArtifactId()
Get the plugin artifactId.java.lang.String
getName()
Get display name for the plugin.java.lang.String
getPrefix()
Get the plugin invocation prefix (i.e.void
setArtifactId(java.lang.String artifactId)
Set the plugin artifactId.void
setName(java.lang.String name)
Set display name for the plugin.void
setPrefix(java.lang.String prefix)
Set the plugin invocation prefix (i.e.
-
-
-
Method Detail
-
clone
public Plugin clone()
Method clone.- Overrides:
clone
in 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
-
-
setName
public void setName(java.lang.String name)
Set display name for the plugin.- Parameters:
name
-
-
setPrefix
public void setPrefix(java.lang.String prefix)
Set the plugin invocation prefix (i.e. eclipse for eclipse:eclipse).- Parameters:
prefix
-
-
-