public class Snapshot extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Snapshot() |
Modifier and Type | Method and Description |
---|---|
Snapshot |
clone()
Method clone.
|
int |
getBuildNumber()
Get the incremental build number.
|
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(String timestamp)
Set the timestamp when this version was deployed.
|
public int getBuildNumber()
public String getTimestamp()
public boolean isLocalCopy()
public void setBuildNumber(int buildNumber)
buildNumber
- public void setLocalCopy(boolean localCopy)
localCopy
- public void setTimestamp(String timestamp)
timestamp
- Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.