Package com.perforce.p4java.core.file
Interface IExtendedFileSpec
-
- All Superinterfaces:
IFileOperationResult
,IFileSpec
,IServerResource
- All Known Implementing Classes:
ExtendedFileSpec
public interface IExtendedFileSpec extends IFileSpec
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getActionOwner()
java.util.Map<java.lang.String,byte[]>
getAttributes()
Get the file attributes of this file, if they're available.java.lang.String
getCharset()
java.lang.String
getDesc()
java.lang.String
getDigest()
long
getFileSize()
int
getHaveRev()
FileAction
getHeadAction()
int
getHeadChange()
java.lang.String
getHeadCharset()
java.util.Date
getHeadModTime()
int
getHeadRev()
java.util.Date
getHeadTime()
java.lang.String
getHeadType()
java.lang.String
getMovedFile()
FileAction
getOpenAction()
java.lang.String
getOpenActionOwner()
int
getOpenChangelistId()
java.lang.String
getOpenType()
java.util.List<java.lang.String>
getOtherActionList()
java.util.List<java.lang.String>
getOtherChangelist()
java.util.List<java.lang.String>
getOtherOpenList()
java.util.List<IResolveRecord>
getResolveRecords()
java.lang.String
getVerifyStatus()
boolean
isMapped()
boolean
isOtherLocked()
boolean
isReresolvable()
boolean
isResolved()
boolean
isShelved()
boolean
isUnresolved()
void
setActionOwner(java.lang.String actionOwner)
void
setCharset(java.lang.String charset)
void
setDesc(java.lang.String desc)
void
setDigest(java.lang.String digest)
void
setEntry(java.lang.String tag, java.lang.String value)
void
setFileSize(long size)
void
setHaveRev(int rev)
void
setHeadAction(FileAction action)
void
setHeadChange(int change)
void
setHeadCharset(java.lang.String charset)
void
setHeadModTime(java.util.Date date)
void
setHeadRev(int rev)
void
setHeadTime(java.util.Date date)
void
setHeadType(java.lang.String type)
void
setMapped(boolean mapped)
void
setMovedFile(java.lang.String movedFile)
void
setOpenAction(FileAction action)
void
setOpenActionOwner(java.lang.String owner)
void
setOpenChangelistId(int id)
void
setOpenType(java.lang.String type)
void
setOtherActionList(java.util.List<java.lang.String> actionList)
void
setOtherChangelist(java.util.List<java.lang.String> otherChangelist)
void
setOtherLocked(boolean otherLocked)
void
setOtherOpenList(java.util.List<java.lang.String> otherOpenList)
void
setReresolvable(boolean reresolvable)
void
setResolved(boolean resolved)
void
setResolveRecords(java.util.List<IResolveRecord> resolveRecords)
void
setUnresolved(boolean unresolved)
void
setVerifyStatus(java.lang.String status)
-
Methods inherited from interface com.perforce.p4java.core.file.IFileOperationResult
getGenericCode, getOpStatus, getRawCode, getSeverityCode, getStatusMessage, getSubCode, getSubSystem, getUniqueCode
-
Methods 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, toString
-
Methods inherited from interface com.perforce.p4java.core.IServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
-
-
-
-
Method Detail
-
isMapped
boolean isMapped()
-
setMapped
void setMapped(boolean mapped)
-
getHeadAction
FileAction getHeadAction()
-
setHeadAction
void setHeadAction(FileAction action)
-
getHeadChange
int getHeadChange()
-
setHeadChange
void setHeadChange(int change)
-
getHeadRev
int getHeadRev()
-
setHeadRev
void setHeadRev(int rev)
-
getHeadType
java.lang.String getHeadType()
-
setHeadType
void setHeadType(java.lang.String type)
-
getHeadTime
java.util.Date getHeadTime()
-
setHeadTime
void setHeadTime(java.util.Date date)
-
getHeadModTime
java.util.Date getHeadModTime()
-
setHeadModTime
void setHeadModTime(java.util.Date date)
-
getHeadCharset
java.lang.String getHeadCharset()
-
setHeadCharset
void setHeadCharset(java.lang.String charset)
-
getHaveRev
int getHaveRev()
-
setHaveRev
void setHaveRev(int rev)
-
getDesc
java.lang.String getDesc()
-
setDesc
void setDesc(java.lang.String desc)
-
getDigest
java.lang.String getDigest()
-
setDigest
void setDigest(java.lang.String digest)
-
getFileSize
long getFileSize()
-
setFileSize
void setFileSize(long size)
-
getOpenAction
FileAction getOpenAction()
-
setOpenAction
void setOpenAction(FileAction action)
-
getOpenType
java.lang.String getOpenType()
-
setOpenType
void setOpenType(java.lang.String type)
-
getOpenActionOwner
java.lang.String getOpenActionOwner()
-
setOpenActionOwner
void setOpenActionOwner(java.lang.String owner)
-
getCharset
java.lang.String getCharset()
-
setCharset
void setCharset(java.lang.String charset)
-
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
java.util.List<java.lang.String> getOtherOpenList()
-
setOtherOpenList
void setOtherOpenList(java.util.List<java.lang.String> otherOpenList)
-
getOtherChangelist
java.util.List<java.lang.String> getOtherChangelist()
-
setOtherChangelist
void setOtherChangelist(java.util.List<java.lang.String> otherChangelist)
-
getOtherActionList
java.util.List<java.lang.String> getOtherActionList()
-
setOtherActionList
void setOtherActionList(java.util.List<java.lang.String> actionList)
-
isShelved
boolean isShelved()
-
getActionOwner
java.lang.String getActionOwner()
-
setActionOwner
void setActionOwner(java.lang.String actionOwner)
-
getResolveRecords
java.util.List<IResolveRecord> getResolveRecords()
-
setResolveRecords
void setResolveRecords(java.util.List<IResolveRecord> resolveRecords)
-
getMovedFile
java.lang.String getMovedFile()
-
setMovedFile
void setMovedFile(java.lang.String movedFile)
-
getVerifyStatus
java.lang.String getVerifyStatus()
-
setVerifyStatus
void setVerifyStatus(java.lang.String status)
-
getAttributes
java.util.Map<java.lang.String,byte[]> 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
void setEntry(java.lang.String tag, java.lang.String value)
-
-