|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.artifact.repository.metadata.Metadata
public class Metadata
Class Metadata.
| 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)
Set an encoding used for reading/writing the model. |
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 |
|---|
public Metadata()
| Method Detail |
|---|
public void addPlugin(Plugin plugin)
plugin - public java.lang.String getArtifactId()
public java.lang.String getGroupId()
public java.util.List 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 setPlugins(java.util.List plugins)
plugins - public void setVersion(java.lang.String version)
version - public void setVersioning(Versioning versioning)
versioning - public boolean merge(Metadata sourceMetadata)
public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding - the encoding used when reading/writing the model.public java.lang.String getModelEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||