public class ArchivaRepositoryMetadata extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
artifactId
The Artifact ID of the metadata.
|
private List<String> |
availableVersions
Field availableVersions.
|
private Date |
fileLastModified
The Last Modified Timestamp of this file.
|
private long |
fileSize
The size of the artifact on disk.
|
private String |
groupId
The Group ID of the metadata.
|
private String |
lastUpdated
When the metadata was last updated.
|
private String |
latestVersion
The latest version id.
|
private List<Plugin> |
plugins
Field plugins.
|
private String |
releasedVersion
The released version id.
|
private static long |
serialVersionUID |
private SnapshotVersion |
snapshotVersion
The snapshot version id.
|
private String |
version
The Version of the metadata.
|
Constructor and Description |
---|
ArchivaRepositoryMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
addAvailableVersion(String string)
Method addAvailableVersion.
|
void |
addPlugin(Plugin plugin)
Method addPlugin.
|
boolean |
equals(Object other)
Method equals.
|
String |
getArtifactId()
Get the Artifact ID of the metadata.
|
List<String> |
getAvailableVersions()
Method getAvailableVersions.
|
Date |
getFileLastModified()
Get the Last Modified Timestamp of this file.
|
long |
getFileSize()
Get the size of the artifact on disk.
|
String |
getGroupId()
Get the Group ID of the metadata.
|
String |
getLastUpdated()
Get when the metadata was last updated.
|
String |
getLatestVersion()
Get the latest version id.
|
List<Plugin> |
getPlugins()
Method getPlugins.
|
String |
getReleasedVersion()
Get the released version id.
|
SnapshotVersion |
getSnapshotVersion()
Get the snapshot version id.
|
String |
getVersion()
Get the Version of the metadata.
|
int |
hashCode()
Method hashCode.
|
void |
removeAvailableVersion(String string)
Method removeAvailableVersion.
|
void |
removePlugin(Plugin plugin)
Method removePlugin.
|
void |
setArtifactId(String artifactId)
Set the Artifact ID of the metadata.
|
void |
setAvailableVersions(List<String> availableVersions)
Set the list of available version ids.
|
void |
setFileLastModified(Date fileLastModified)
Set the Last Modified Timestamp of this file.
|
void |
setFileSize(long fileSize)
Set the size of the artifact on disk.
|
void |
setGroupId(String groupId)
Set the Group ID of the metadata.
|
void |
setLastUpdated(String lastUpdated)
Set when the metadata was last updated.
|
void |
setLastUpdatedTimestamp(Date date) |
void |
setLatestVersion(String latestVersion)
Set the latest version id.
|
void |
setPlugins(List<Plugin> plugins)
Set the available plugins.
|
void |
setReleasedVersion(String releasedVersion)
Set the released version id.
|
void |
setSnapshotVersion(SnapshotVersion snapshotVersion)
Set the snapshot version id.
|
void |
setVersion(String version)
Set the Version of the metadata.
|
String |
toString()
Method toString.
|
void |
updateTimestamp() |
private String artifactId
private String latestVersion
private String releasedVersion
private SnapshotVersion snapshotVersion
private List<String> availableVersions
private String lastUpdated
private Date fileLastModified
private long fileSize
private static final long serialVersionUID
public ArchivaRepositoryMetadata()
public void addAvailableVersion(String string)
string
- public String getArtifactId()
public List<String> getAvailableVersions()
public Date getFileLastModified()
public long getFileSize()
public String getGroupId()
public String getLastUpdated()
public String getLatestVersion()
public List<Plugin> getPlugins()
public String getReleasedVersion()
public SnapshotVersion getSnapshotVersion()
public String getVersion()
public void removeAvailableVersion(String string)
string
- public void removePlugin(Plugin plugin)
plugin
- public void setArtifactId(String artifactId)
artifactId
- public void setAvailableVersions(List<String> availableVersions)
availableVersions
- public void setFileLastModified(Date fileLastModified)
fileLastModified
- public void setFileSize(long fileSize)
fileSize
- public void setGroupId(String groupId)
groupId
- public void setLastUpdated(String lastUpdated)
lastUpdated
- public void setLatestVersion(String latestVersion)
latestVersion
- public void setPlugins(List<Plugin> plugins)
plugins
- public void setReleasedVersion(String releasedVersion)
releasedVersion
- public void setSnapshotVersion(SnapshotVersion snapshotVersion)
snapshotVersion
- public void setVersion(String version)
version
- public void updateTimestamp()
public void setLastUpdatedTimestamp(Date date)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.