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()
IFileRevisionData
getAction
in interface IFileRevisionData
public void setAction(FileAction action)
public String getClientName()
IFileRevisionData
getClientName
in interface IFileRevisionData
public void setClientName(String clientName)
public Date getDate()
IFileRevisionData
getDate
in interface IFileRevisionData
public void setDate(Date date)
public String getDepotFileName()
IFileRevisionData
getDepotFileName
in interface IFileRevisionData
public void setDepotFileName(String depotFileName)
public String getDescription()
IFileRevisionData
getDescription
in interface IFileRevisionData
public void setDescription(String description)
public String getFileType()
IFileRevisionData
getFileType
in interface IFileRevisionData
public void setFileType(String fileType)
public int getRevision()
IFileRevisionData
getRevision
in interface IFileRevisionData
public void setRevision(int revision)
public List<IRevisionIntegrationData> getRevisionIntegrationDataList()
IFileRevisionData
getRevisionIntegrationDataList
in interface IFileRevisionData
@Deprecated public List<IRevisionIntegrationData> getRevisionIntegrationData()
getRevisionIntegrationData
in interface IFileRevisionData
public String getUserName()
IFileRevisionData
getUserName
in interface IFileRevisionData
public void setUserName(String userName)
public int getChangelistId()
IFileRevisionData
getChangelistId
in interface IFileRevisionData
Copyright © 2017 Perforce Software. All Rights Reserved.