public class ArchivaArtifactModel extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
artifactId
The Artifact ID of the repository content.
|
private String |
checksumMD5
The MD5 checksum for the artifact file.
|
private String |
checksumSHA1
The SHA1 checksum for the artifact file.
|
private String |
classifier
The classifier for this artifact.
|
private String |
groupId
The Group ID of the repository content.
|
private Date |
lastModified
The Last Modified Timestamp of this artifact.
|
private String |
repositoryId
The repository associated with this content.
|
private static long |
serialVersionUID |
private long |
size
The size of the artifact on disk.
|
private boolean |
snapshot
True if this is a snapshot.
|
private String |
type
The type of artifact.
|
private String |
version
The version of the repository content.
|
private Date |
whenGathered
When this artifact was gathered or discovered
from the repository.
|
Constructor and Description |
---|
ArchivaArtifactModel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Method equals.
|
String |
getArtifactId()
Get the Artifact ID of the repository content.
|
String |
getChecksumMD5()
Get the MD5 checksum for the artifact file.
|
String |
getChecksumSHA1()
Get the SHA1 checksum for the artifact file.
|
String |
getClassifier()
Get the classifier for this artifact.
|
String |
getGroupId()
Get the Group ID of the repository content.
|
Date |
getLastModified()
Get the Last Modified Timestamp of this artifact.
|
String |
getRepositoryId()
Get the repository associated with this content.
|
long |
getSize()
Get the size of the artifact on disk.
|
String |
getType()
Get the type of artifact.
|
String |
getVersion()
Get the version of the repository content.
|
Date |
getWhenGathered()
Get when this artifact was gathered or discovered from the
repository.
|
int |
hashCode()
Method hashCode.
|
boolean |
isSnapshot()
Get true if this is a snapshot.
|
void |
setArtifactId(String artifactId)
Set the Artifact ID of the repository content.
|
void |
setChecksumMD5(String checksumMD5)
Set the MD5 checksum for the artifact file.
|
void |
setChecksumSHA1(String checksumSHA1)
Set the SHA1 checksum for the artifact file.
|
void |
setClassifier(String classifier)
Set the classifier for this artifact.
|
void |
setGroupId(String groupId)
Set the Group ID of the repository content.
|
void |
setLastModified(Date lastModified)
Set the Last Modified Timestamp of this artifact.
|
void |
setRepositoryId(String repositoryId)
Set the repository associated with this content.
|
void |
setSize(long size)
Set the size of the artifact on disk.
|
void |
setSnapshot(boolean snapshot)
Set true if this is a snapshot.
|
void |
setType(String type)
Set the type of artifact.
|
void |
setVersion(String version)
Set the version of the repository content.
|
void |
setWhenGathered(Date whenGathered)
Set when this artifact was gathered or discovered from the
repository.
|
String |
toString()
Method toString.
|
private String artifactId
private String classifier
private String repositoryId
private boolean snapshot
private String checksumMD5
private String checksumSHA1
private Date lastModified
private long size
private Date whenGathered
private static final long serialVersionUID
public ArchivaArtifactModel()
public String getArtifactId()
public String getChecksumMD5()
public String getChecksumSHA1()
public String getClassifier()
public String getGroupId()
public Date getLastModified()
public String getRepositoryId()
public long getSize()
public String getVersion()
public Date getWhenGathered()
public boolean isSnapshot()
public void setArtifactId(String artifactId)
artifactId
- public void setChecksumMD5(String checksumMD5)
checksumMD5
- public void setChecksumSHA1(String checksumSHA1)
checksumSHA1
- public void setClassifier(String classifier)
classifier
- public void setGroupId(String groupId)
groupId
- public void setLastModified(Date lastModified)
lastModified
- public void setRepositoryId(String repositoryId)
repositoryId
- public void setSize(long size)
size
- public void setSnapshot(boolean snapshot)
snapshot
- public void setVersion(String version)
version
- public void setWhenGathered(Date whenGathered)
whenGathered
- Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.