Class Snapshot
java.lang.Object
org.apache.maven.artifact.repository.metadata.BaseObject
org.apache.maven.artifact.repository.metadata.Snapshot
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.artifact.repository.metadata.BaseObject
BaseObject.ChildrenTracking
-
Field Summary
Fields inherited from class org.apache.maven.artifact.repository.metadata.BaseObject
childrenTracking, delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
int
hashCode()
boolean
protected boolean
void
setBuildNumber
(int buildNumber) void
setLocalCopy
(boolean localCopy) void
setTimestamp
(String timestamp) snapshotToApiV3
(List<Snapshot> list) snapshotToApiV4
(List<Snapshot> list) Methods inherited from class org.apache.maven.artifact.repository.metadata.BaseObject
update
-
Constructor Details
-
Snapshot
public Snapshot() -
Snapshot
-
Snapshot
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
getTimestamp
-
setTimestamp
-
getBuildNumber
public int getBuildNumber() -
setBuildNumber
public void setBuildNumber(int buildNumber) -
isLocalCopy
public boolean isLocalCopy() -
setLocalCopy
public void setLocalCopy(boolean localCopy) -
replace
- Overrides:
replace
in classBaseObject
-
snapshotToApiV4
-
snapshotToApiV3
-