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 Details

    • getUrl

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

      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

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

      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

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

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

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

      File getFile()
      Returns:
      The absolute path to this item.
    • getNodeKind

      SVNNodeKind getNodeKind()
      Returns:
      The node kind of the managed resource, or SVNNodeKind.UNKNOWN not managed.
    • 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

      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

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

      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

      String getLockOwner()
      Returns the lock owner
      Returns:
      the lock owner
    • getLockCreationDate

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

      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