Class SnapshotVersion
java.lang.Object
org.apache.maven.artifact.repository.metadata.SnapshotVersion
- All Implemented Interfaces:
- Serializable,- Cloneable
Versioning information for a sub-artifact of the current
 snapshot artifact.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.booleanMethod equals.Get the classifier of the sub-artifact.Get the file extension of the sub-artifact.Get the timestamp when this version information was last updated.Get the resolved snapshot version of the sub-artifact.inthashCode()Method hashCode.voidsetClassifier(String classifier) Set the classifier of the sub-artifact.voidsetExtension(String extension) Set the file extension of the sub-artifact.voidsetUpdated(String updated) Set the timestamp when this version information was last updated.voidsetVersion(String version) Set the resolved snapshot version of the sub-artifact.toString()Method toString.
- 
Constructor Details- 
SnapshotVersionpublic SnapshotVersion()
 
- 
- 
Method Details- 
cloneMethod clone.
- 
equalsMethod equals.
- 
getClassifierGet the classifier of the sub-artifact. Each classifier and extension pair may only appear once.- Returns:
- String
 
- 
getExtensionGet the file extension of the sub-artifact. Each classifier and extension pair may only appear once.- Returns:
- String
 
- 
getUpdatedGet the timestamp when this version information was last updated. The timestamp is expressed using UTC in the format yyyyMMddHHmmss.- Returns:
- String
 
- 
getVersionGet the resolved snapshot version of the sub-artifact.- Returns:
- String
 
- 
hashCodepublic int hashCode()Method hashCode.
- 
setClassifierSet the classifier of the sub-artifact. Each classifier and extension pair may only appear once.- Parameters:
- classifier- a classifier object.
 
- 
setExtensionSet the file extension of the sub-artifact. Each classifier and extension pair may only appear once.- Parameters:
- extension- a extension object.
 
- 
setUpdatedSet the timestamp when this version information was last updated. The timestamp is expressed using UTC in the format yyyyMMddHHmmss.- Parameters:
- updated- a updated object.
 
- 
setVersionSet the resolved snapshot version of the sub-artifact.- Parameters:
- version- a version object.
 
- 
toStringMethod toString.
 
-