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.
 java.lang.String getClientName()
          Get the client file name associated with this revision.
 java.util.Date getDate()
          Get the date associated with this revision.
 java.lang.String getDepotFileName()
          Get the depot file name associated with this revision.
 java.lang.String getDescription()
          Get the description string associated with this revision.
 java.lang.String getFileType()
          Get the Perforce file type string associated with this revision.
 int getRevision()
          Get the revision ID associated with this revision.
 java.util.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.
 java.lang.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

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


getUserName

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


getFileType

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


getDescription

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


getDepotFileName

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


getClientName

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


getRevisionIntegrationData

java.util.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 (c) 2008-2010 Perforce Software. All rights reserved.