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

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

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

null

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

Constructor Summary
Metadata()
           
 
Method Summary
 void addPlugin(Plugin plugin)
          Method addPlugin
 java.lang.String getArtifactId()
          Get The artifactId that is directory represents, if any.
 java.lang.String getGroupId()
          Get The groupId that is directory represents, if any.
 java.lang.String getModelEncoding()
           
 java.util.List getPlugins()
          Method getPlugins
 java.lang.String getVersion()
          Get The version that is directory represents, if any.
 Versioning getVersioning()
          Get Versioning information for the artifact.
 boolean merge(Metadata sourceMetadata)
           
 void removePlugin(Plugin plugin)
          Method removePlugin
 void setArtifactId(java.lang.String artifactId)
          Set The artifactId that is directory represents, if any.
 void setGroupId(java.lang.String groupId)
          Set The groupId that is directory represents, if any.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setPlugins(java.util.List plugins)
          Set The set of plugin mappings for the group
 void setVersion(java.lang.String version)
          Set The version that is directory represents, if any.
 void setVersioning(Versioning versioning)
          Set Versioning information for the artifact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Metadata

public Metadata()
Method Detail

addPlugin

public void addPlugin(Plugin plugin)
Method addPlugin

Parameters:
plugin -

getArtifactId

public java.lang.String getArtifactId()
Get The artifactId that is directory represents, if any.


getGroupId

public java.lang.String getGroupId()
Get The groupId that is directory represents, if any.


getPlugins

public java.util.List getPlugins()
Method getPlugins


getVersion

public java.lang.String getVersion()
Get The version that is directory represents, if any.


getVersioning

public Versioning getVersioning()
Get Versioning information for the artifact.


removePlugin

public void removePlugin(Plugin plugin)
Method removePlugin

Parameters:
plugin -

setArtifactId

public void setArtifactId(java.lang.String artifactId)
Set The artifactId that is directory represents, if any.

Parameters:
artifactId -

setGroupId

public void setGroupId(java.lang.String groupId)
Set The groupId that is directory represents, if any.

Parameters:
groupId -

setPlugins

public void setPlugins(java.util.List plugins)
Set The set of plugin mappings for the group

Parameters:
plugins -

setVersion

public void setVersion(java.lang.String version)
Set The version that is directory represents, if any.

Parameters:
version -

setVersioning

public void setVersioning(Versioning versioning)
Set Versioning information for the artifact.

Parameters:
versioning -

merge

public boolean merge(Metadata sourceMetadata)

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


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