public class SnapshotVersion
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
classifier
The classifier of the sub-artifact.
|
private java.lang.String |
extension
The file extension of the sub-artifact.
|
private java.lang.String |
updated
The timestamp when this version information was last
updated.
|
private java.lang.String |
version
The resolved snapshot version of the sub-artifact.
|
Constructor and Description |
---|
SnapshotVersion() |
Modifier and Type | Method and Description |
---|---|
SnapshotVersion |
clone()
Method clone.
|
boolean |
equals(java.lang.Object other)
Method equals.
|
java.lang.String |
getClassifier()
Get the classifier of the sub-artifact.
|
java.lang.String |
getExtension()
Get the file extension of the sub-artifact.
|
java.lang.String |
getUpdated()
Get the timestamp when this version information was last
updated.
|
java.lang.String |
getVersion()
Get the resolved snapshot version of the sub-artifact.
|
int |
hashCode()
Method hashCode.
|
void |
setClassifier(java.lang.String classifier)
Set the classifier of the sub-artifact.
|
void |
setExtension(java.lang.String extension)
Set the file extension of the sub-artifact.
|
void |
setUpdated(java.lang.String updated)
Set the timestamp when this version information was last
updated.
|
void |
setVersion(java.lang.String version)
Set the resolved snapshot version of the sub-artifact.
|
java.lang.String |
toString()
Method toString.
|
private java.lang.String classifier
private java.lang.String extension
private java.lang.String version
private java.lang.String updated
public SnapshotVersion clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- a other object.public java.lang.String getClassifier()
public java.lang.String getExtension()
public java.lang.String getUpdated()
public java.lang.String getVersion()
public int hashCode()
hashCode
in class java.lang.Object
public void setClassifier(java.lang.String classifier)
classifier
- a classifier object.public void setExtension(java.lang.String extension)
extension
- a extension object.public void setUpdated(java.lang.String updated)
updated
- a updated object.public void setVersion(java.lang.String version)
version
- a version object.public java.lang.String toString()
toString
in class java.lang.Object