Interface ISVNStatus

  • All Known Implementing Classes:
    SVNStatusUnversioned

    public interface ISVNStatus
    An interface defining the status of one subversion item (file or directory) in the working copy or repository.
    Author:
    philip schatz
    • Method Detail

      • getUrl

        SVNUrl getUrl()
        Returns:
        the SVNUrl instance of url of the resource on repository
      • getUrlString

        java.lang.String getUrlString()
        Returns:
        the url (String) of the resource in repository
      • getLastChangedRevision

        SVNRevision.Number getLastChangedRevision()
        Returns:
        the last changed revision or null if resource is not managed
      • getLastChangedDate

        java.util.Date getLastChangedDate()
        Returns:
        date this resource last changed
      • getLastCommitAuthor

        java.lang.String getLastCommitAuthor()
        get the last commit author or null if resource is not versionned or if last commit author is unknown
        Returns:
        the last commit author or null
      • getTextStatus

        SVNStatusKind getTextStatus()
        Returns:
        the file or directory status
      • getRepositoryTextStatus

        SVNStatusKind getRepositoryTextStatus()
        Returns:
        the file or directory status of base
      • getPropStatus

        SVNStatusKind getPropStatus()
        Returns:
        status of properties (either Kind.NORMAL, Kind.CONFLICTED or Kind.MODIFIED)
      • getRepositoryPropStatus

        SVNStatusKind getRepositoryPropStatus()
        Returns:
        the status of the properties base (either Kind.NORMAL, Kind.CONFLICTED or Kind.MODIFIED)
      • getRevision

        SVNRevision.Number getRevision()
        Returns:
        the revision of the resource or null if not managed
      • getPath

        java.lang.String getPath()
        Returns:
        The path to this item relative to the directory from which status was run.
      • getMovedFromAbspath

        java.lang.String getMovedFromAbspath()
        Returns:
        The absolute path from which this item was moved.
      • getMovedToAbspath

        java.lang.String getMovedToAbspath()
        Returns:
        The absolute path to which this item was moved.
      • getFile

        java.io.File getFile()
        Returns:
        The absolute path to this item.
      • isCopied

        boolean isCopied()
        Returns:
        true when the resource was copied
      • isWcLocked

        boolean isWcLocked()
        Returns:
        true when the working copy directory is locked.
      • isSwitched

        boolean isSwitched()
        Returns:
        true when the resource was switched relative to its parent.
      • getConflictNew

        java.io.File getConflictNew()
        Returns in case of conflict, the file of the most recent repository version
        Returns:
        the filename of the most recent repository version
      • getConflictOld

        java.io.File getConflictOld()
        Returns in case of conflict, the file of the common base version
        Returns:
        the filename of the common base version
      • getConflictWorking

        java.io.File getConflictWorking()
        Returns in case of conflict, the file of the former working copy version
        Returns:
        the filename of the former working copy version
      • getLockOwner

        java.lang.String getLockOwner()
        Returns the lock owner
        Returns:
        the lock owner
      • getLockCreationDate

        java.util.Date getLockCreationDate()
        Returns the lock creation date
        Returns:
        the lock creation date
      • getLockComment

        java.lang.String getLockComment()
        Returns the lock comment
        Returns:
        the lock comment
      • hasTreeConflict

        boolean hasTreeConflict()
        Returns the tree conflicted state
        Returns:
        the tree conflicted state
      • getConflictDescriptor

        SVNConflictDescriptor getConflictDescriptor()
        Returns the conflict descriptor for the tree conflict
        Returns:
        the conflict descriptor for the tree conflict
      • isFileExternal

        boolean isFileExternal()
        Returns if the item is a file external
        Returns:
        is the item is a file external