public class ArtifactMetadataModel extends Object implements Serializable
ArtifactMetadata
Modifier and Type | Class and Description |
---|---|
static class |
ArtifactMetadataModel.KeyBuilder |
Constructor and Description |
---|
ArtifactMetadataModel() |
ArtifactMetadataModel(String id,
String repositoryId,
String namespace,
String project,
String projectVersion,
String version,
Date fileLastModified,
long size,
String md5,
String sha1,
Date whenGathered) |
Modifier and Type | Method and Description |
---|---|
String |
getChecksum(String type) |
Map<String,String> |
getChecksums() |
long |
getFileLastModified() |
String |
getId() |
String |
getMd5() |
String |
getNamespace() |
String |
getProject() |
String |
getProjectVersion() |
String |
getRepositoryId() |
String |
getSha1() |
long |
getSize() |
String |
getVersion() |
Date |
getWhenGathered() |
void |
setChecksum(String type,
String value) |
void |
setChecksums(Map<String,String> checksums) |
void |
setFileLastModified(long fileLastModified) |
void |
setId(String id) |
void |
setMd5(String md5) |
void |
setNamespace(String namespace) |
void |
setProject(String project) |
void |
setProjectVersion(String projectVersion) |
void |
setRepositoryId(String repositoryId) |
void |
setSha1(String sha1) |
void |
setSize(long size) |
void |
setVersion(String version) |
void |
setWhenGathered(long whenGathered) |
String |
toString() |
public ArtifactMetadataModel()
public String getRepositoryId()
public void setRepositoryId(String repositoryId)
public String getNamespace()
public void setNamespace(String namespace)
public String getProject()
public void setProject(String project)
public String getProjectVersion()
public void setProjectVersion(String projectVersion)
public String getVersion()
public void setVersion(String version)
public long getFileLastModified()
public void setFileLastModified(long fileLastModified)
public long getSize()
public void setSize(long size)
public Date getWhenGathered()
public void setWhenGathered(long whenGathered)
public void setChecksum(String type, String value)
public String getChecksum(String type)
public void setChecksums(Map<String,String> checksums)
public Map<String,String> getChecksums()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.