org.apache.maven.artifact.repository.metadata
Class SnapshotVersion

java.lang.Object
  extended by org.apache.maven.artifact.repository.metadata.SnapshotVersion
All Implemented Interfaces:
Serializable, Cloneable

public class SnapshotVersion
extends Object
implements Serializable, Cloneable

Versioning information for a sub-artifact of the current snapshot artifact.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
SnapshotVersion()
           
 
Method Summary
 SnapshotVersion clone()
          Method clone.
 String getClassifier()
          Get the classifier of the sub-artifact.
 String getExtension()
          Get the file extension of thesub-artifact.
 String getUpdated()
          Get the timestamp when this version information was last updated.
 String getVersion()
          Get the resolved snapshot version of the sub-artifact.
 void setClassifier(String classifier)
          Set the classifier of the sub-artifact.
 void setExtension(String extension)
          Set the file extension of thesub-artifact.
 void setUpdated(String updated)
          Set the timestamp when this version information was last updated.
 void setVersion(String version)
          Set the resolved snapshot version of the sub-artifact.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotVersion

public SnapshotVersion()
Method Detail

clone

public SnapshotVersion clone()
Method clone.

Overrides:
clone in class Object
Returns:
SnapshotVersion

getClassifier

public String getClassifier()
Get the classifier of the sub-artifact.

Returns:
String

getExtension

public String getExtension()
Get the file extension of thesub-artifact.

Returns:
String

getUpdated

public String getUpdated()
Get the timestamp when this version information was last updated. The timestamp is expressed using UTC in the format yyyyMMddHHmmss.

Returns:
String

getVersion

public String getVersion()
Get the resolved snapshot version of the sub-artifact.

Returns:
String

setClassifier

public void setClassifier(String classifier)
Set the classifier of the sub-artifact.

Parameters:
classifier -

setExtension

public void setExtension(String extension)
Set the file extension of thesub-artifact.

Parameters:
extension -

setUpdated

public void setUpdated(String updated)
Set the timestamp when this version information was last updated. The timestamp is expressed using UTC in the format yyyyMMddHHmmss.

Parameters:
updated -

setVersion

public void setVersion(String version)
Set the resolved snapshot version of the sub-artifact.

Parameters:
version -


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.