Class Info

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Info.ScheduleKind  
    • Constructor Summary

      Constructors 
      Constructor Description
      Info​(java.lang.String path, java.lang.String wcroot, java.lang.String url, long rev, NodeKind kind, java.lang.String reposRootUrl, java.lang.String reposUUID, long lastChangedRev, long lastChangedDate, java.lang.String lastChangedAuthor, Lock lock, boolean hasWcInfo, Info.ScheduleKind schedule, java.lang.String copyFromUrl, long copyFromRev, long textTime, Checksum checksum, java.lang.String changelistName, long workingSize, long reposSize, Depth depth, java.util.Set<ConflictDescriptor> conflict)
      constructor to build the object by native code.
    • Constructor Detail

      • Info

        public Info​(java.lang.String path,
                    java.lang.String wcroot,
                    java.lang.String url,
                    long rev,
                    NodeKind kind,
                    java.lang.String reposRootUrl,
                    java.lang.String reposUUID,
                    long lastChangedRev,
                    long lastChangedDate,
                    java.lang.String lastChangedAuthor,
                    Lock lock,
                    boolean hasWcInfo,
                    Info.ScheduleKind schedule,
                    java.lang.String copyFromUrl,
                    long copyFromRev,
                    long textTime,
                    Checksum checksum,
                    java.lang.String changelistName,
                    long workingSize,
                    long reposSize,
                    Depth depth,
                    java.util.Set<ConflictDescriptor> conflict)
        constructor to build the object by native code. See fields for parameters
        Parameters:
        path -
        wcroot -
        url -
        rev -
        kind -
        reposRootUrl -
        reposUUID -
        lastChangedRev -
        lastChangedDate -
        lastChangedAuthor -
        lock -
        hasWcInfo -
        schedule -
        copyFromUrl -
        copyFromRev -
        textTime -
        checksum -
        depth -
        treeConflict -
    • Method Detail

      • getPath

        public java.lang.String getPath()
        return the path of the item
      • getWcroot

        public java.lang.String getWcroot()
        return the workgin copy root
      • getUrl

        public java.lang.String getUrl()
        return the url of the item
      • getRev

        public long getRev()
        return the revision of the item
      • getKind

        public NodeKind getKind()
        return the item kinds (see NodeKind)
      • getReposRootUrl

        public java.lang.String getReposRootUrl()
        return the root URL of the repository
      • getReposUUID

        public java.lang.String getReposUUID()
        return the UUID of the repository
      • getLastChangedRev

        public long getLastChangedRev()
        return the revision of the last change
      • getLastChangedDate

        public java.util.Date getLastChangedDate()
        return the date of the last change
      • getLastChangedAuthor

        public java.lang.String getLastChangedAuthor()
        return the author of the last change
      • getLock

        public Lock getLock()
        return the information about any lock (may be null)
      • isHasWcInfo

        public boolean isHasWcInfo()
        return the flag if the working copy fields are set
      • getSchedule

        public Info.ScheduleKind getSchedule()
        return the scheduled operation at next commit (see ScheduleKind)
      • getCopyFromUrl

        public java.lang.String getCopyFromUrl()
        return if the item was copied, the source url
      • getCopyFromRev

        public long getCopyFromRev()
        return if the item was copied, the source rev
      • getTextTime

        public java.util.Date getTextTime()
        return the last time the item was changed
      • getChecksum

        public Checksum getChecksum()
        return the checksum of the item
      • getChangelistName

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

        public long getWorkingSize()
        Returns:
        The size of the file after being translated into its local representation, or -1 if unknown. Not applicable for directories.
      • getReposSize

        public long getReposSize()
        Returns:
        The size of the file in the repository (untranslated, e.g. without adjustment of line endings and keyword expansion). Only applicable for file -- not directory -- URLs. For working copy paths, size will be -1.
      • getDepth

        public Depth getDepth()
        Returns:
        The depth of the directory or null if the item is a file.
      • getConflicts

        public java.util.Set<ConflictDescriptor> getConflicts()
        Returns:
        the tree conflict of which this node is a victim, or null if none
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of this info.