com.perforce.p4java.core.file
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 Summary
 FileAction getAction()
          Get the file action associated with this revision.
 int getChangelistId()
          Get the changelist ID associated with this revision.
 String getClientName()
          Get the client file name associated with this revision.
 Date getDate()
          Get the date associated with this revision.
 String getDepotFileName()
          Get the depot file name associated with this revision.
 String getDescription()
          Get the description string associated with this revision.
 String getFileType()
          Get the Perforce file type string associated with this revision.
 int getRevision()
          Get the revision ID associated with this revision.
 List<IRevisionIntegrationData> getRevisionIntegrationData()
          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.
 String getUserName()
          Get the Perforce user name associated with this revision.
 

Method Detail

getRevision

int getRevision()
Get the revision ID associated with this revision.


getChangelistId

int getChangelistId()
Get the changelist ID associated with this revision.


getAction

FileAction getAction()
Get the file action associated with this revision.


getDate

Date getDate()
Get the date associated with this revision.


getUserName

String getUserName()
Get the Perforce user name associated with this revision.


getFileType

String getFileType()
Get the Perforce file type string associated with this revision.


getDescription

String getDescription()
Get the description string associated with this revision.


getDepotFileName

String getDepotFileName()
Get the depot file name associated with this revision.


getClientName

String getClientName()
Get the client file name associated with this revision.


getRevisionIntegrationData

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


Copyright © 2015 Perforce Software. All Rights Reserved.