Interface ISync


public interface ISync
This interface shows the history of any sync's with a ISnapshot or ISandbox.
  • Method Details

    • getSourceSnapshot

      ISnapshot getSourceSnapshot() throws VersionException
      Get the source snapshot for this sync
      Returns:
      a snapshot that contains the IResources and IVersion that were synced
      Throws:
      VersionException
    • getTargetSnapshot

      ISnapshot getTargetSnapshot() throws VersionException
      Get the target snapshot for this sync
      Returns:
      a snapshot that contains the IResources and IVersion that were changed
      Throws:
      VersionException
    • getEffectiveVersions

      List<IVersion> getEffectiveVersions(int begin, int end) throws VersionException
      Get the version that were effected by this sync
      Parameters:
      begin - the index to start from
      end - the index to end with
      Returns:
      a list of all of the IVersion that were changed
      Throws:
      VersionException
    • getSourceVersions

      List<IVersion> getSourceVersions(int begin, int end) throws VersionException
      Get the source version that were used by this sync
      Parameters:
      begin - the index to start from
      end - the index to end with
      Returns:
      a list of all of the IVersion that were the source
      Throws:
      VersionException