|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(String string)
Method addVersion. |
Versioning |
clone()
Method clone. |
String |
getLastUpdated()
Get when the metadata was last updated. |
String |
getLatest()
Get what the latest version in the directory is, including snapshots. |
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. |
List<SnapshotVersion> |
getSnapshotVersions()
Method getSnapshotVersions. |
List<String> |
getVersions()
Method getVersions. |
void |
removeSnapshotVersion(SnapshotVersion snapshotVersion)
Method removeSnapshotVersion. |
void |
removeVersion(String string)
Method removeVersion. |
void |
setLastUpdated(String lastUpdated)
Set when the metadata was last updated. |
void |
setLastUpdatedTimestamp(Date date)
|
void |
setLatest(String latest)
Set what the latest version in the directory is, including snapshots. |
void |
setRelease(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(List<SnapshotVersion> snapshotVersions)
Set the snapshot versions available for the artifact. |
void |
setVersions(List<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(String string)
string
- public Versioning clone()
clone
in class Object
public String getLastUpdated()
public String getLatest()
public String getRelease()
public Snapshot getSnapshot()
public List<SnapshotVersion> getSnapshotVersions()
public List<String> getVersions()
public void removeSnapshotVersion(SnapshotVersion snapshotVersion)
snapshotVersion
- public void removeVersion(String string)
string
- public void setLastUpdated(String lastUpdated)
lastUpdated
- public void setLatest(String latest)
latest
- public void setRelease(String release)
release
- public void setSnapshot(Snapshot snapshot)
snapshot
- public void setSnapshotVersions(List<SnapshotVersion> snapshotVersions)
snapshotVersions
- public void setVersions(List<String> versions)
versions
- public void updateTimestamp()
public void setLastUpdatedTimestamp(Date date)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |