java.lang.Object
org.apache.maven.artifact.repository.metadata.BaseObject
org.apache.maven.artifact.repository.metadata.Versioning
All Implemented Interfaces:
Serializable, Cloneable

@Generated public class Versioning extends BaseObject
See Also:
  • Constructor Details

    • Versioning

      public Versioning()
    • Versioning

      public Versioning(Versioning delegate)
    • Versioning

      public Versioning(Versioning delegate, BaseObject parent)
  • Method Details

    • clone

      public Versioning clone()
      Overrides:
      clone in class Object
    • getDelegate

      public Versioning getDelegate()
      Overrides:
      getDelegate in class BaseObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getLatest

      public String getLatest()
    • setLatest

      public void setLatest(String latest)
    • getRelease

      public String getRelease()
    • setRelease

      public void setRelease(String release)
    • getVersions

      @Nonnull public List<String> getVersions()
    • setVersions

      public void setVersions(List<String> versions)
    • addVersion

      public void addVersion(String version)
    • removeVersion

      public void removeVersion(String version)
    • getLastUpdated

      public String getLastUpdated()
    • setLastUpdated

      public void setLastUpdated(String lastUpdated)
    • getSnapshot

      public Snapshot getSnapshot()
    • setSnapshot

      public void setSnapshot(Snapshot snapshot)
    • getSnapshotVersions

      @Nonnull public List<SnapshotVersion> getSnapshotVersions()
    • setSnapshotVersions

      public void setSnapshotVersions(List<SnapshotVersion> snapshotVersions)
    • addSnapshotVersion

      public void addSnapshotVersion(SnapshotVersion snapshotVersion)
    • removeSnapshotVersion

      public void removeSnapshotVersion(SnapshotVersion snapshotVersion)
    • replace

      protected boolean replace(Object oldDelegate, Object newDelegate)
      Overrides:
      replace in class BaseObject
    • versioningToApiV4

      public static List<Versioning> versioningToApiV4(List<Versioning> list)
    • versioningToApiV3

      public static List<Versioning> versioningToApiV3(List<Versioning> list)
    • updateTimestamp

      public void updateTimestamp()
    • setLastUpdatedTimestamp

      public void setLastUpdatedTimestamp(Date date)