Package com.perforce.p4java.core.file
Interface IFileSize
- All Known Implementing Classes:
FileSize
public interface IFileSize
Describes information about the size of the files in the depot. For specified file specification,
it shows the depot file name, revision, file count and file size. If you use client syntax for
the file specification,the view mapping is used to list the corresponding depot files. Full field
semantics and usage are given in the main Perforce documentation.
-
Method Summary
Modifier and TypeMethodDescriptionlonglonglonggetPath()longvoidsetChangelistId(long changeListId) Set the shelved changelist ID.voidsetDepotFile(String depotFile) Set the depot file.voidsetFileCount(long fileCount) Set the file count.voidsetFileSize(long fileSize) Set the file size.voidSet the path.voidsetRevisionId(long revisionId) Set the file revision ID.
-
Method Details
-
getDepotFile
String getDepotFile()- Returns:
- the depot file.
-
setDepotFile
Set the depot file.- Parameters:
depotFile- depotFile
-
getRevisionId
long getRevisionId()- Returns:
- the file revision ID.
-
setRevisionId
void setRevisionId(long revisionId) Set the file revision ID.- Parameters:
revisionId- revisionId
-
getFileSize
long getFileSize()- Returns:
- the file size.
-
setFileSize
void setFileSize(long fileSize) Set the file size.- Parameters:
fileSize- fileSize
-
getPath
String getPath()- Returns:
- the path.
-
setPath
Set the path.- Parameters:
path- path
-
getFileCount
long getFileCount()- Returns:
- the file count.
-
setFileCount
void setFileCount(long fileCount) Set the file count.- Parameters:
fileCount- fileCount
-
getChangelistId
long getChangelistId()- Returns:
- the shelved changelist ID.
-
setChangelistId
void setChangelistId(long changeListId) Set the shelved changelist ID.- Parameters:
changeListId- changeListId
-