Class FileDiff

  • All Implemented Interfaces:
    IFileDiff

    public class FileDiff
    extends java.lang.Object
    implements IFileDiff
    • Constructor Summary

      Constructors 
      Constructor Description
      FileDiff​(java.util.Map<java.lang.String,​java.lang.Object> map)
      Create a new file diff with the values from the specified map
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDepotFile1()
      Get depot path of first file in diff
      java.lang.String getDepotFile2()
      Get depot path of second file in diff
      java.lang.String getFileType1()
      Get file type of first file in diff
      java.lang.String getFileType2()
      Get file type of second file in diff
      int getRevision1()
      Get revision of first file in diff
      int getRevision2()
      Get revision of second file in diff
      IFileDiff.Status getStatus()
      Get status of file diff
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileDiff

        public FileDiff​(java.util.Map<java.lang.String,​java.lang.Object> map)
        Create a new file diff with the values from the specified map
        Parameters:
        map - map
    • Method Detail

      • getDepotFile1

        public java.lang.String getDepotFile1()
        Description copied from interface: IFileDiff
        Get depot path of first file in diff
        Specified by:
        getDepotFile1 in interface IFileDiff
        Returns:
        depot file path
      • getDepotFile2

        public java.lang.String getDepotFile2()
        Description copied from interface: IFileDiff
        Get depot path of second file in diff
        Specified by:
        getDepotFile2 in interface IFileDiff
        Returns:
        depot file path
      • getRevision1

        public int getRevision1()
        Description copied from interface: IFileDiff
        Get revision of first file in diff
        Specified by:
        getRevision1 in interface IFileDiff
        Returns:
        revision number
      • getRevision2

        public int getRevision2()
        Description copied from interface: IFileDiff
        Get revision of second file in diff
        Specified by:
        getRevision2 in interface IFileDiff
        Returns:
        revision number
      • getFileType1

        public java.lang.String getFileType1()
        Description copied from interface: IFileDiff
        Get file type of first file in diff
        Specified by:
        getFileType1 in interface IFileDiff
        Returns:
        file type
      • getFileType2

        public java.lang.String getFileType2()
        Description copied from interface: IFileDiff
        Get file type of second file in diff
        Specified by:
        getFileType2 in interface IFileDiff
        Returns:
        file type