Class Metadata
java.lang.Object
org.apache.maven.artifact.repository.metadata.Metadata
- All Implemented Interfaces:
- Serializable,- Cloneable
Class Metadata.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidMethod addPlugin.clone()Method clone.Get the artifactId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".Get the groupId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".Get the modelEncoding field.Get the version of the underlying metadata model.Method getPlugins.Get the base version (ie.Get versioning information when this directory represents "groupId/artifactId" or "groupId/artifactId/version".booleanvoidremovePlugin(Plugin plugin) Method removePlugin.voidsetArtifactId(String artifactId) Set the artifactId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".voidsetGroupId(String groupId) Set the groupId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".voidsetModelEncoding(String modelEncoding) Set the modelEncoding field.voidsetModelVersion(String modelVersion) Set the version of the underlying metadata model.voidsetPlugins(List<Plugin> plugins) Set the set of plugins when this directory represents a "groupId" (deprecated).voidsetVersion(String version) Set the base version (ie.voidsetVersioning(Versioning versioning) Set versioning information when this directory represents "groupId/artifactId" or "groupId/artifactId/version".
- 
Constructor Details- 
Metadatapublic Metadata()
 
- 
- 
Method Details- 
addPluginMethod addPlugin.- Parameters:
- plugin- a plugin object.
 
- 
cloneMethod clone.
- 
getArtifactIdGet the artifactId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".- Returns:
- String
 
- 
getGroupIdGet the groupId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".- Returns:
- String
 
- 
getModelEncodingGet the modelEncoding field.- Returns:
- String
 
- 
getModelVersionGet the version of the underlying metadata model.- Returns:
- String
 
- 
getPluginsMethod getPlugins.- Returns:
- List
 
- 
getVersionGet the base version (ie. ending in-SNAPSHOT) when this directory represents a "groupId/artifactId/version" for a SNAPSHOT.- Returns:
- String
 
- 
getVersioningGet versioning information when this directory represents "groupId/artifactId" or "groupId/artifactId/version".- Returns:
- Versioning
 
- 
removePluginMethod removePlugin.- Parameters:
- plugin- a plugin object.
 
- 
setArtifactIdSet the artifactId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".- Parameters:
- artifactId- a artifactId object.
 
- 
setGroupIdSet the groupId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".- Parameters:
- groupId- a groupId object.
 
- 
setModelEncodingSet the modelEncoding field.- Parameters:
- modelEncoding- a modelEncoding object.
 
- 
setModelVersionSet the version of the underlying metadata model.- Parameters:
- modelVersion- a modelVersion object.
 
- 
setPluginsSet the set of plugins when this directory represents a "groupId" (deprecated).- Parameters:
- plugins- a plugins object.
 
- 
setVersionSet the base version (ie. ending in-SNAPSHOT) when this directory represents a "groupId/artifactId/version" for a SNAPSHOT.- Parameters:
- version- a version object.
 
- 
setVersioningSet versioning information when this directory represents "groupId/artifactId" or "groupId/artifactId/version".- Parameters:
- versioning- a versioning object.
 
- 
merge
 
-