public class Versioning extends Object implements Serializable
Constructor and Description |
---|
Versioning() |
Modifier and Type | Method and Description |
---|---|
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() |
public void addVersion(String string)
string
- public String getLastUpdated()
public String getLatest()
public String getRelease()
public Snapshot getSnapshot()
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)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.