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.

    • Method Detail

      • isMapped

        boolean isMapped()
      • setMapped

        void setMapped​(boolean mapped)
      • 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)
      • 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)