org.apache.archiva.model
Class SnapshotVersion

java.lang.Object
  extended by org.apache.archiva.model.SnapshotVersion
All Implemented Interfaces:
Serializable

public class SnapshotVersion
extends Object
implements Serializable

The Snapshot Version.

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

Constructor Summary
SnapshotVersion()
           
 
Method Summary
 int getBuildNumber()
          Get the incremental build number of the snapshot.
 String getTimestamp()
          Get the unique timestamp for the snapshot version.
 void setBuildNumber(int buildNumber)
          Set the incremental build number of the snapshot.
 void setTimestamp(String timestamp)
          Set the unique timestamp for the snapshot version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotVersion

public SnapshotVersion()
Method Detail

getBuildNumber

public int getBuildNumber()
Get the incremental build number of the snapshot.

Returns:
int

getTimestamp

public String getTimestamp()
Get the unique timestamp for the snapshot version.

Returns:
String

setBuildNumber

public void setBuildNumber(int buildNumber)
Set the incremental build number of the snapshot.

Parameters:
buildNumber -

setTimestamp

public void setTimestamp(String timestamp)
Set the unique timestamp for the snapshot version.

Parameters:
timestamp -


Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.