public class ArchivaRepositoryMetadata extends Object implements Serializable
| 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() | 
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–2019 The Apache Software Foundation. All rights reserved.