|
||||||||||
| 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 |
addVersion(String string)
Method addVersion. |
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<String> |
getVersions()
Method getVersions. |
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 |
setVersions(List<String> 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(String string)
string - public String getLastUpdated()
public String getLatest()
public String getRelease()
public Snapshot getSnapshot()
public List<String> getVersions()
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 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 | |||||||||