Modifier and Type | Field and Description |
---|---|
private java.lang.String |
artifact |
private java.lang.String |
classifier |
private java.util.Date |
date |
private java.lang.String |
extension |
private java.lang.String |
filename |
private java.lang.String |
folder |
private java.lang.String |
group |
private Repository |
repo |
private java.lang.String |
timestamp |
private java.lang.String |
value |
private org.apache.maven.artifact.versioning.ComparableVersion |
version |
Constructor and Description |
---|
Artifact(Artifact other,
Repository repo,
java.lang.String timestamp) |
Artifact(Repository repo,
java.lang.String value,
java.lang.String timestamp) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Artifact o) |
int |
compareVersion(Artifact o) |
java.io.File |
getFile() |
java.lang.String |
getFilename() |
java.lang.String |
getFolder() |
java.lang.String |
getPath() |
Repository |
getRepository() |
java.io.File |
getSnapshotMeta() |
java.lang.String |
getTimestamp() |
org.apache.maven.artifact.versioning.ComparableVersion |
getVersion() |
int |
hashCode() |
boolean |
isSnapshot() |
boolean |
matchesID(Artifact o) |
java.lang.String |
toString() |
private final Repository repo
private final java.lang.String group
private final java.lang.String artifact
private final java.lang.String classifier
private final java.lang.String extension
private final java.lang.String value
private final org.apache.maven.artifact.versioning.ComparableVersion version
private final java.lang.String timestamp
private final java.util.Date date
private java.lang.String filename
private java.lang.String folder
public Artifact(Repository repo, java.lang.String value, java.lang.String timestamp)
public Artifact(Artifact other, Repository repo, java.lang.String timestamp)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getFilename()
public java.lang.String getFolder()
public java.lang.String getPath()
public java.io.File getFile()
public java.io.File getSnapshotMeta()
public boolean isSnapshot()
public java.lang.String getTimestamp()
public org.apache.maven.artifact.versioning.ComparableVersion getVersion()
public Repository getRepository()
public boolean matchesID(Artifact o)
public int compareVersion(Artifact o)