Class ClientNotifyInformation

    • Constructor Detail

      • ClientNotifyInformation

        public ClientNotifyInformation​(java.lang.String path,
                                       ClientNotifyInformation.Action action,
                                       NodeKind kind,
                                       java.lang.String mimeType,
                                       Lock lock,
                                       java.lang.String errMsg,
                                       ClientNotifyInformation.Status contentState,
                                       ClientNotifyInformation.Status propState,
                                       ClientNotifyInformation.LockStatus lockState,
                                       long revision,
                                       java.lang.String changelistName,
                                       RevisionRange mergeRange,
                                       java.lang.String pathPrefix,
                                       java.lang.String propName,
                                       java.util.Map<java.lang.String,​java.lang.String> revProps,
                                       long oldRevision,
                                       long hunkOriginalStart,
                                       long hunkOriginalLength,
                                       long hunkModifiedStart,
                                       long hunkModifiedLength,
                                       long hunkMatchedLine,
                                       int hunkFuzz)
        This constructor is to be used by the native code.
        Parameters:
        path - The path of the item, which is the source of the event.
        action - The ClientNotifyInformation.Action which triggered this event.
        kind - The NodeKind of the item.
        mimeType - The MIME type of the item.
        lock - Any lock for the item.
        errMsg - Any error message for the item.
        contentState - The ClientNotifyInformation.Status of the content of the item.
        propState - The ClientNotifyInformation.Status of the properties of the item.
        lockState - The ClientNotifyInformation.LockStatus of the lock of the item.
        revision - The revision of the item.
        changelistName - The name of the changelist.
        mergeRange - The range of the merge just beginning to occur.
        pathPrefix - A common path prefix.
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Returns:
        The path of the item, which is the source of the event.
      • getMimeType

        public java.lang.String getMimeType()
        Returns:
        The MIME type of the item.
      • getLock

        public Lock getLock()
        Returns:
        Any lock for the item.
      • getErrMsg

        public java.lang.String getErrMsg()
        Returns:
        Any error message for the item.
      • getRevision

        public long getRevision()
        Returns:
        The revision of the item.
      • getChangelistName

        public java.lang.String getChangelistName()
        Returns:
        The name of the changelist.
      • getMergeRange

        public RevisionRange getMergeRange()
        Returns:
        The range of the merge just beginning to occur.
      • getPathPrefix

        public java.lang.String getPathPrefix()
        Returns:
        The common absolute path prefix.
      • getPropName

        public java.lang.String getPropName()
      • getRevProps

        public java.util.Map<java.lang.String,​java.lang.String> getRevProps()
      • getOldRevision

        public long getOldRevision()
      • getHunkOriginalStart

        public long getHunkOriginalStart()
      • getHunkOriginalLength

        public long getHunkOriginalLength()
      • getHunkModifiedStart

        public long getHunkModifiedStart()
      • getHunkModifiedLength

        public long getHunkModifiedLength()
      • getHunkMatchedLine

        public long getHunkMatchedLine()
      • getHunkFuzz

        public int getHunkFuzz()