|
||||||||||
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
public class Versioning
Versioning information for an artifact.
Constructor Summary | |
---|---|
Versioning()
|
Method Summary | |
---|---|
void |
addSnapshotVersion(SnapshotVersion snapshotVersion)
Method addSnapshotVersion. |
void |
addVersion(java.lang.String string)
Method addVersion. |
Versioning |
clone()
Method clone. |
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 |
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<SnapshotVersion> |
getSnapshotVersions()
Method getSnapshotVersions. |
java.util.List<java.lang.String> |
getVersions()
Method getVersions. |
void |
removeSnapshotVersion(SnapshotVersion snapshotVersion)
Method removeSnapshotVersion. |
void |
removeVersion(java.lang.String string)
Method removeVersion. |
void |
setLastUpdated(java.lang.String lastUpdated)
Set when the metadata was last updated. |
void |
setLastUpdatedTimestamp(java.util.Date date)
|
void |
setLatest(java.lang.String latest)
Set what the latest version in the directory is, including snapshots. |
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 |
setSnapshotVersions(java.util.List<SnapshotVersion> snapshotVersions)
Set the snapshot versions available for the artifact. |
void |
setVersions(java.util.List<java.lang.String> versions)
Set versions available for the artifact. |
void |
updateTimestamp()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Versioning()
Method Detail |
---|
public void addSnapshotVersion(SnapshotVersion snapshotVersion)
snapshotVersion
- public void addVersion(java.lang.String string)
string
- public Versioning clone()
clone
in class java.lang.Object
public java.lang.String getLastUpdated()
public java.lang.String getLatest()
public java.lang.String getRelease()
public Snapshot getSnapshot()
public java.util.List<SnapshotVersion> getSnapshotVersions()
public java.util.List<java.lang.String> getVersions()
public void removeSnapshotVersion(SnapshotVersion snapshotVersion)
snapshotVersion
- 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 setSnapshotVersions(java.util.List<SnapshotVersion> snapshotVersions)
snapshotVersions
- public void setVersions(java.util.List<java.lang.String> versions)
versions
- public void updateTimestamp()
public void setLastUpdatedTimestamp(java.util.Date date)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |