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

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

    • Snapshot

      public Snapshot()
    • Snapshot

      public Snapshot(Snapshot delegate)
    • Snapshot

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

    • clone

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

      public Snapshot 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
    • getTimestamp

      public String getTimestamp()
    • setTimestamp

      public void setTimestamp(String timestamp)
    • getBuildNumber

      public int getBuildNumber()
    • setBuildNumber

      public void setBuildNumber(int buildNumber)
    • isLocalCopy

      public boolean isLocalCopy()
    • setLocalCopy

      public void setLocalCopy(boolean localCopy)
    • replace

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

      public static List<Snapshot> snapshotToApiV4(List<Snapshot> list)
    • snapshotToApiV3

      public static List<Snapshot> snapshotToApiV3(List<Snapshot> list)