org.apache.maven.artifact.repository.metadata
Class Plugin

java.lang.Object
  extended by org.apache.maven.artifact.repository.metadata.Plugin
All Implemented Interfaces:
java.io.Serializable

public class Plugin
extends java.lang.Object
implements java.io.Serializable

Mapping information for a single plugin within this group.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Plugin()
           
 
Method Summary
 java.lang.String getArtifactId()
          Get the plugin artifactId.
 java.lang.String getModelEncoding()
           
 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 setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plugin

public Plugin()
Method Detail

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 -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.