org.apache.maven.artifact.repository.metadata.Snapshot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
/*
=================== DO NOT EDIT THIS FILE ====================
Generated by Modello 1.0.1 on 2009-08-06 15:12:36,
any modifications will be overwritten.
==============================================================
*/
package org.apache.maven.artifact.repository.metadata;
/**
* Snapshot data for the current version.
*
* @version $Revision$ $Date$
*/
public class Snapshot
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* The time it was deployed.
*/
private String timestamp;
/**
* The incremental build number.
*/
private int buildNumber = 0;
/**
* Whether to use a local copy instead (with filename that
* includes the base version).
*/
private boolean localCopy = false;
//-----------/
//- Methods -/
//-----------/
/**
* Get the incremental build number.
*
* @return int
*/
public int getBuildNumber()
{
return this.buildNumber;
} //-- int getBuildNumber()
/**
* Get the time it was deployed.
*
* @return String
*/
public String getTimestamp()
{
return this.timestamp;
} //-- String getTimestamp()
/**
* Get whether to use a local copy instead (with filename that
* includes the base version).
*
* @return boolean
*/
public boolean isLocalCopy()
{
return this.localCopy;
} //-- boolean isLocalCopy()
/**
* Set the incremental build number.
*
* @param buildNumber
*/
public void setBuildNumber( int buildNumber )
{
this.buildNumber = buildNumber;
} //-- void setBuildNumber( int )
/**
* Set whether to use a local copy instead (with filename that
* includes the base version).
*
* @param localCopy
*/
public void setLocalCopy( boolean localCopy )
{
this.localCopy = localCopy;
} //-- void setLocalCopy( boolean )
/**
* Set the time it was deployed.
*
* @param timestamp
*/
public void setTimestamp( String timestamp )
{
this.timestamp = timestamp;
} //-- void setTimestamp( String )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy