public class Snapshot
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private int |
buildNumber
The incremental build number.
|
private boolean |
localCopy
Whether to use a local copy instead (with filename that
includes the base version).
|
private java.lang.String |
timestamp
The timestamp when this version was deployed.
|
Constructor and Description |
---|
Snapshot() |
Modifier and Type | Method and Description |
---|---|
Snapshot |
clone()
Method clone.
|
int |
getBuildNumber()
Get the incremental build number.
|
java.lang.String |
getTimestamp()
Get the timestamp when this version 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 |
setTimestamp(java.lang.String timestamp)
Set the timestamp when this version was deployed.
|
private java.lang.String timestamp
private int buildNumber
private boolean localCopy
public Snapshot clone()
clone
in class java.lang.Object
public int getBuildNumber()
public java.lang.String getTimestamp()
public boolean isLocalCopy()
public void setBuildNumber(int buildNumber)
buildNumber
- a buildNumber object.public void setLocalCopy(boolean localCopy)
localCopy
- a localCopy object.public void setTimestamp(java.lang.String timestamp)
timestamp
- a timestamp object.