public class ArtifactMetadata extends FacetedMetadata
ProjectVersionMetadata
class. The metadata is faceted to store information
about particular types of artifacts, for example Maven 2.x artifact specific information.
For more information, see the
Metadata Content Model.Constructor and Description |
---|
ArtifactMetadata() |
addFacet, getFacet, getFacetIds, getFacetList, getFacets, removeFacet
public ArtifactMetadata()
public long getSize()
public void setSize(long size)
public String getVersion()
public void setVersion(String version)
public String getProjectVersion()
public void setProjectVersion(String projectVersion)
public void setFileLastModified(long fileLastModified)
public void setWhenGathered(ZonedDateTime whenGathered)
public ZonedDateTime getWhenGathered()
public String getChecksum(ChecksumAlgorithm checksumAlgorithm)
public void setChecksum(ChecksumAlgorithm algorithm, String checksumValue)
public Set<ChecksumAlgorithm> getChecksumTypes()
public Map<ChecksumAlgorithm,String> getChecksums()
public boolean hasChecksum(String checksum)
public void setChecksums(Map<ChecksumAlgorithm,String> checksums)
public ZonedDateTime getFileLastModified()
public String getNamespace()
public void setNamespace(String namespace)
public void setProject(String project)
public String getProject()
public String getRepositoryId()
public void setRepositoryId(String repositoryId)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.