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