Interface IFileRevisionData

All Known Implementing Classes:
FileRevisionData

public interface IFileRevisionData
Describes a Perforce file revision in detail, including the changelist number and associated description, action, user, etc. data. Full field semantics and usage are given in the main Perforce documentation.
  • Method Details

    • getRevision

      int getRevision()
      Returns:
      the revision ID associated with this revision.
    • getChangelistId

      int getChangelistId()
      Returns:
      the changelist ID associated with this revision.
    • getAction

      FileAction getAction()
      Returns:
      the file action associated with this revision.
    • getDate

      Date getDate()
      Returns:
      the date associated with this revision.
    • getUserName

      String getUserName()
      Returns:
      the Perforce user name associated with this revision.
    • getFileType

      String getFileType()
      Returns:
      the Perforce file type string associated with this revision.
    • getDescription

      String getDescription()
      Returns:
      the description string associated with this revision.
    • getDepotFileName

      String getDepotFileName()
      Returns:
      the depot file name associated with this revision.
    • getClientName

      String getClientName()
      Returns:
      the client file name associated with this revision.
    • getRevisionIntegrationDataList

      List<IRevisionIntegrationData> getRevisionIntegrationDataList()
      This method can be used to retrieve a (possibly-empty or even null) list of contributory integration data for revisions that have resulted from (or caused) a merge or branch. There's generally no easy way to tell whether there's anything to be retrieved here, so you may have to always call it and if it's null or empty, just ignore it...
      Returns:
      potentially null or empty list of revision integration data for this specific revision.
    • getRevisionIntegrationData

      @Deprecated List<IRevisionIntegrationData> getRevisionIntegrationData()
      Deprecated.