Class Versioning
java.lang.Object
org.apache.maven.artifact.repository.metadata.BaseObject
org.apache.maven.artifact.repository.metadata.Versioning
- 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
ConstructorDescriptionVersioning
(Versioning delegate) Versioning
(Versioning delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSnapshotVersion
(SnapshotVersion snapshotVersion) void
addVersion
(String version) clone()
boolean
int
hashCode()
void
removeSnapshotVersion
(SnapshotVersion snapshotVersion) void
removeVersion
(String version) protected boolean
void
setLastUpdated
(String lastUpdated) void
setLastUpdatedTimestamp
(Date date) void
void
setRelease
(String release) void
setSnapshot
(Snapshot snapshot) void
setSnapshotVersions
(List<SnapshotVersion> snapshotVersions) void
setVersions
(List<String> versions) void
static List<Versioning>
versioningToApiV3
(List<Versioning> list) static List<Versioning>
versioningToApiV4
(List<Versioning> list) Methods inherited from class org.apache.maven.artifact.repository.metadata.BaseObject
update
-
Constructor Details
-
Versioning
public Versioning() -
Versioning
-
Versioning
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
getLatest
-
setLatest
-
getRelease
-
setRelease
-
getVersions
-
setVersions
-
addVersion
-
removeVersion
-
getLastUpdated
-
setLastUpdated
-
getSnapshot
-
setSnapshot
-
getSnapshotVersions
-
setSnapshotVersions
-
addSnapshotVersion
-
removeSnapshotVersion
-
replace
- Overrides:
replace
in classBaseObject
-
versioningToApiV4
-
versioningToApiV3
-
updateTimestamp
public void updateTimestamp() -
setLastUpdatedTimestamp
-