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

java.lang.Object
  extended by org.apache.maven.artifact.repository.metadata.Snapshot
All Implemented Interfaces:
java.io.Serializable

public class Snapshot
extends java.lang.Object
implements java.io.Serializable

Snapshot data for the current version

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

Constructor Summary
Snapshot()
           
 
Method Summary
 int getBuildNumber()
          Get The incremental build number
 java.lang.String getModelEncoding()
           
 java.lang.String getTimestamp()
          Get The time it was deployed
 boolean isLocalCopy()
          Get Whether to use a local copy instead (with filename that includes the base version)
 void setBuildNumber(int buildNumber)
          Set The incremental build number
 void setLocalCopy(boolean localCopy)
          Set Whether to use a local copy instead (with filename that includes the base version)
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setTimestamp(java.lang.String timestamp)
          Set The time it was deployed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Snapshot

public Snapshot()
Method Detail

getBuildNumber

public int getBuildNumber()
Get The incremental build number


getTimestamp

public java.lang.String getTimestamp()
Get The time it was deployed


isLocalCopy

public boolean isLocalCopy()
Get Whether to use a local copy instead (with filename that includes the base version)


setBuildNumber

public void setBuildNumber(int buildNumber)
Set The incremental build number

Parameters:
buildNumber -

setLocalCopy

public void setLocalCopy(boolean localCopy)
Set Whether to use a local copy instead (with filename that includes the base version)

Parameters:
localCopy -

setTimestamp

public void setTimestamp(java.lang.String timestamp)
Set The time it was deployed

Parameters:
timestamp -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.