Package com.perforce.p4java.core.file
Interface IExtendedFileSpec
- All Superinterfaces:
IFileOperationResult,IFileSpec,IServerResource
- All Known Implementing Classes:
ExtendedFileSpec
Extends the basic IFileSpec with methods and fields for use with the IServer
getExtendedFiles method and other specialized methods.
This information is typically only returned by the server.fstat() method or similarly specialized method, but this interface may be returned or used by other methods as documented. Note that returns from these methods may be (and often will be) null.
No documentation is given here on individual methods and usage; please consult the detailed Perforce documentation for help with this.
Note that setter methods below will only affect local fields and are provided mostly to help with object initialization.
-
Field Summary
Fields inherited from interface com.perforce.p4java.core.file.IFileSpec
HAVE_REVISION, HAVE_REVISION_STRING, HEAD_REVISION, HEAD_REVISION_STRING, NO_FILE_REVISION, NO_REVISION_STRING, NONE_REVISION, NONE_REVISION_STRING -
Method Summary
Modifier and TypeMethodDescriptionGet the file attributes of this file, if they're available.getDesc()longintintintintbooleanisMapped()booleanbooleanbooleanbooleanbooleanvoidsetActionOwner(String actionOwner) voidsetCharset(String charset) voidvoidvoidvoidsetFileSize(long size) voidsetHaveRev(int rev) voidsetHeadAction(FileAction action) voidsetHeadChange(int change) voidsetHeadCharset(String charset) voidsetHeadModTime(Date date) voidsetHeadRev(int rev) voidsetHeadTime(Date date) voidsetHeadType(String type) voidsetMapped(boolean mapped) voidsetMovedFile(String movedFile) voidsetOpenAction(FileAction action) voidsetOpenActionOwner(String owner) voidsetOpenChangelistId(int id) voidsetOpenType(String type) voidsetOtherActionList(List<String> actionList) voidsetOtherChangelist(List<String> otherChangelist) voidsetOtherLocked(boolean otherLocked) voidsetOtherOpenList(List<String> otherOpenList) voidsetReresolvable(boolean reresolvable) voidsetResolved(boolean resolved) voidsetResolveRecords(List<IResolveRecord> resolveRecords) voidsetUnresolved(boolean unresolved) voidsetVerifyStatus(String status) Methods inherited from interface com.perforce.p4java.core.file.IFileOperationResult
getGenericCode, getOpStatus, getRawCode, getSeverityCode, getStatusMessage, getSubCode, getSubSystem, getUniqueCodeMethods inherited from interface com.perforce.p4java.core.file.IFileSpec
getAction, getAnnotatedPathString, getAnnotatedPreferredPathString, getAnnotations, getAnnotations, getBaseFile, getBaseName, getBaseRev, getBlobSha, getBranch, getChangelistId, getClientName, getClientPath, getClientPathString, getCommitSha, getContentResolveType, getContents, getContents, getDate, getDepotPath, getDepotPathString, getDiffStatus, getEndFromRev, getEndRevision, getEndToRev, getFileType, getFromFile, getHowResolved, getLabel, getLocalPath, getLocalPathString, getOriginalPath, getOriginalPathString, getOtherAction, getPath, getPathString, getPreferredPath, getPreferredPathString, getRepoName, getResolveType, getResolveTypes, getRevisionHistory, getRevisionHistory, getSha, getShelvedChange, getStartFromRev, getStartRevision, getStartToRev, getSyncTime, getToFile, getTreeSha, getUserName, getWorkRev, isLocked, isUnmap, move, move, setAction, setBaseFile, setBaseName, setBaseRev, setBlobSha, setBranch, setChangelistId, setClientName, setClientPath, setCommitSha, setContentResolveType, setDate, setDepotPath, setDiffStatus, setEndFromRev, setEndRevision, setEndToRev, setFileType, setFromFile, setHowResolved, setLabel, setLocalPath, setLocked, setOriginalPath, setOtherAction, setPath, setPathFromString, setRepoName, setResolveType, setResolveTypes, setSha, setShelvedChange, setStartFromRev, setStartRevision, setStartToRev, setSyncTime, setToFile, setTreeSha, setUnmap, setUserName, setWorkRev, toStringMethods inherited from interface com.perforce.p4java.core.IServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
-
Method Details
-
isMapped
boolean isMapped() -
setMapped
void setMapped(boolean mapped) -
getHeadAction
FileAction getHeadAction() -
setHeadAction
-
getHeadChange
int getHeadChange() -
setHeadChange
void setHeadChange(int change) -
getHeadRev
int getHeadRev() -
setHeadRev
void setHeadRev(int rev) -
getHeadType
String getHeadType() -
setHeadType
-
getHeadTime
Date getHeadTime() -
setHeadTime
-
getHeadModTime
Date getHeadModTime() -
setHeadModTime
-
getHeadCharset
String getHeadCharset() -
setHeadCharset
-
getHaveRev
int getHaveRev() -
setHaveRev
void setHaveRev(int rev) -
getDesc
String getDesc() -
setDesc
-
getDigest
String getDigest() -
setDigest
-
getFileSize
long getFileSize() -
setFileSize
void setFileSize(long size) -
getOpenAction
FileAction getOpenAction() -
setOpenAction
-
getOpenType
String getOpenType() -
setOpenType
-
getOpenActionOwner
String getOpenActionOwner() -
setOpenActionOwner
-
getCharset
String getCharset() -
setCharset
-
getOpenChangelistId
int getOpenChangelistId() -
setOpenChangelistId
void setOpenChangelistId(int id) -
isUnresolved
boolean isUnresolved() -
setUnresolved
void setUnresolved(boolean unresolved) -
isResolved
boolean isResolved() -
setResolved
void setResolved(boolean resolved) -
isReresolvable
boolean isReresolvable() -
setReresolvable
void setReresolvable(boolean reresolvable) -
isOtherLocked
boolean isOtherLocked() -
setOtherLocked
void setOtherLocked(boolean otherLocked) -
getOtherOpenList
-
setOtherOpenList
-
getOtherChangelist
-
setOtherChangelist
-
getOtherActionList
-
setOtherActionList
-
isShelved
boolean isShelved() -
getActionOwner
String getActionOwner() -
setActionOwner
-
getResolveRecords
List<IResolveRecord> getResolveRecords() -
setResolveRecords
-
getMovedFile
String getMovedFile() -
setMovedFile
-
getVerifyStatus
String getVerifyStatus() -
setVerifyStatus
-
getAttributes
Get the file attributes of this file, if they're available. Attributes will only be available if getExtendedFiles was called with the correct FileStatAncilliaryOptions settings; see the main Perforce file attribute documentation. Attributes are treated by the Perforce server as bytes (they're commonly used to store raw data such as thumbnails); it is up to the consumer to determine the "real" type and convert as appropriate.- Returns:
- non-null but possibly-empty map of file attributes keyed by attribute name. Individual attribute values may be null.
- Since:
- 2011.1
-
setEntry
-