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 Detail

      • 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

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

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

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

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

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

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

        java.util.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
        java.util.List<IRevisionIntegrationData> getRevisionIntegrationData()
        Deprecated.