public class Metadata
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
artifactId
The artifactId that this directory represents, if any.
|
private java.lang.String |
groupId
The groupId that this directory represents, if any.
|
private java.lang.String |
modelEncoding
Field modelEncoding.
|
private java.lang.String |
modelVersion
The version of the underlying metadata model.
|
private java.util.List<Plugin> |
plugins
Field plugins.
|
private java.lang.String |
version
The version that this directory represents, if any.
|
private Versioning |
versioning
Versioning information for the artifact.
|
Constructor and Description |
---|
Metadata() |
Modifier and Type | Method and Description |
---|---|
void |
addPlugin(Plugin plugin)
Method addPlugin.
|
Metadata |
clone()
Method clone.
|
java.lang.String |
getArtifactId()
Get the artifactId that this directory represents, if any.
|
java.lang.String |
getGroupId()
Get the groupId that this directory represents, if any.
|
java.lang.String |
getModelEncoding()
Get the modelEncoding field.
|
java.lang.String |
getModelVersion()
Get the version of the underlying metadata model.
|
java.util.List<Plugin> |
getPlugins()
Method getPlugins.
|
java.lang.String |
getVersion()
Get the version that this 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 this directory represents, if any.
|
void |
setGroupId(java.lang.String groupId)
Set the groupId that this directory represents, if any.
|
void |
setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.
|
void |
setModelVersion(java.lang.String modelVersion)
Set the version of the underlying metadata model.
|
void |
setPlugins(java.util.List<Plugin> plugins)
Set the set of plugin mappings for the group represented by
this directory.
|
void |
setVersion(java.lang.String version)
Set the version that this directory represents, if any.
|
void |
setVersioning(Versioning versioning)
Set versioning information for the artifact.
|
private java.lang.String modelVersion
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
private Versioning versioning
private java.util.List<Plugin> plugins
private java.lang.String modelEncoding
public void addPlugin(Plugin plugin)
plugin
- public Metadata clone()
clone
in class java.lang.Object
public java.lang.String getArtifactId()
public java.lang.String getGroupId()
public java.lang.String getModelEncoding()
public java.lang.String getModelVersion()
public java.util.List<Plugin> getPlugins()
public java.lang.String getVersion()
public Versioning getVersioning()
public void removePlugin(Plugin plugin)
plugin
- public void setArtifactId(java.lang.String artifactId)
artifactId
- public void setGroupId(java.lang.String groupId)
groupId
- public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding
- public void setModelVersion(java.lang.String modelVersion)
modelVersion
- public void setPlugins(java.util.List<Plugin> plugins)
plugins
- public void setVersion(java.lang.String version)
version
- public void setVersioning(Versioning versioning)
versioning
- public boolean merge(Metadata sourceMetadata)