Class Snapshot

java.lang.Object
au.com.origin.snapshots.Snapshot
All Implemented Interfaces:
Comparable<Snapshot>

public class Snapshot extends Object implements Comparable<Snapshot>
  • Constructor Details

    • Snapshot

      public Snapshot()
  • Method Details

    • compareTo

      public int compareTo(Snapshot other)
      Specified by:
      compareTo in interface Comparable<Snapshot>
    • getIdentifier

      public String getIdentifier()
    • parse

      public static Snapshot parse(String rawText)
    • raw

      public String raw()
      The raw string representation of the snapshot as it would appear in the *.snap file.
      Returns:
      raw snapshot
    • toString

      public String toString()
      Overrides:
      toString in class Object