|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.artifact.repository.metadata.Versioning
Versioning information for an artifact
| Constructor Summary | |
Versioning()
|
|
| Method Summary | |
void |
addVersion(java.lang.String string)
Method addVersion |
java.lang.String |
getLastUpdated()
Get When the metadata was last updated |
java.lang.String |
getLatest()
Get What the latest version in the directory is, including snapshots |
java.lang.String |
getModelEncoding()
|
java.lang.String |
getRelease()
Get What the latest version in the directory is, of the releases |
Snapshot |
getSnapshot()
Get The current snapshot data in use for this version |
java.util.List |
getVersions()
Method getVersions |
void |
removeVersion(java.lang.String string)
Method removeVersion |
void |
setLastUpdated(java.lang.String lastUpdated)
Set When the metadata was last updated |
void |
setLatest(java.lang.String latest)
Set What the latest version in the directory is, including snapshots |
void |
setModelEncoding(java.lang.String modelEncoding)
|
void |
setRelease(java.lang.String release)
Set What the latest version in the directory is, of the releases |
void |
setSnapshot(Snapshot snapshot)
Set The current snapshot data in use for this version |
void |
setVersions(java.util.List versions)
Set Versions available for the artifact |
void |
updateTimestamp()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Versioning()
| Method Detail |
public void addVersion(java.lang.String string)
string - public java.lang.String getLastUpdated()
public java.lang.String getLatest()
public java.lang.String getRelease()
public Snapshot getSnapshot()
public java.util.List getVersions()
public void removeVersion(java.lang.String string)
string - public void setLastUpdated(java.lang.String lastUpdated)
lastUpdated - public void setLatest(java.lang.String latest)
latest - public void setRelease(java.lang.String release)
release - public void setSnapshot(Snapshot snapshot)
snapshot - public void setVersions(java.util.List versions)
versions - public void updateTimestamp()
public void setModelEncoding(java.lang.String modelEncoding)
public java.lang.String getModelEncoding()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||