public class FileRevisionData extends Object implements IFileRevisionData
| Constructor and Description |
|---|
FileRevisionData() |
FileRevisionData(int revision,
int changeListId,
FileAction action,
Date date,
String userName,
String fileType,
String description,
String depotFileName,
String clientName) |
FileRevisionData(Map<String,Object> map,
int revNo) |
| Modifier and Type | Method and Description |
|---|---|
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()
Deprecated.
|
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.
|
String |
getUserName()
Get the Perforce user name associated with this revision.
|
void |
setAction(FileAction action) |
void |
setChangelistId(int changeListId) |
void |
setClientName(String clientName) |
void |
setDate(Date date) |
void |
setDepotFileName(String depotFileName) |
void |
setDescription(String description) |
void |
setFileType(String fileType) |
void |
setRevision(int revision) |
void |
setUserName(String userName) |
public void setChangelistId(int changeListId)
public FileAction getAction()
IFileRevisionDatagetAction in interface IFileRevisionDatapublic void setAction(FileAction action)
public String getClientName()
IFileRevisionDatagetClientName in interface IFileRevisionDatapublic void setClientName(String clientName)
public Date getDate()
IFileRevisionDatagetDate in interface IFileRevisionDatapublic void setDate(Date date)
public String getDepotFileName()
IFileRevisionDatagetDepotFileName in interface IFileRevisionDatapublic void setDepotFileName(String depotFileName)
public String getDescription()
IFileRevisionDatagetDescription in interface IFileRevisionDatapublic void setDescription(String description)
public String getFileType()
IFileRevisionDatagetFileType in interface IFileRevisionDatapublic void setFileType(String fileType)
public int getRevision()
IFileRevisionDatagetRevision in interface IFileRevisionDatapublic void setRevision(int revision)
public List<IRevisionIntegrationData> getRevisionIntegrationDataList()
IFileRevisionDatagetRevisionIntegrationDataList in interface IFileRevisionData@Deprecated public List<IRevisionIntegrationData> getRevisionIntegrationData()
getRevisionIntegrationData in interface IFileRevisionDatapublic String getUserName()
IFileRevisionDatagetUserName in interface IFileRevisionDatapublic void setUserName(String userName)
public int getChangelistId()
IFileRevisionDatagetChangelistId in interface IFileRevisionDataCopyright © 2017 Perforce Software. All Rights Reserved.