org.tigris.subversion.svnclientadapter
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 Summary
 java.io.File getConflictNew()
          Returns in case of conflict, the file of the most recent repository version
 java.io.File getConflictOld()
          Returns in case of conflict, the file of the common base version
 java.io.File getConflictWorking()
          Returns in case of conflict, the file of the former working copy version
 java.io.File getFile()
           
 java.util.Date getLastChangedDate()
           
 SVNRevision.Number getLastChangedRevision()
           
 java.lang.String getLastCommitAuthor()
          get the last commit author or null if resource is not versionned or if last commit author is unknown
 java.lang.String getLockComment()
          Returns the lock comment
 java.util.Date getLockCreationDate()
          Returns the lock creation date
 java.lang.String getLockOwner()
          Returns the lock owner
 SVNNodeKind getNodeKind()
           
 java.lang.String getPath()
           
 SVNStatusKind getPropStatus()
           
 SVNStatusKind getRepositoryPropStatus()
           
 SVNStatusKind getRepositoryTextStatus()
           
 SVNRevision.Number getRevision()
           
 SVNStatusKind getTextStatus()
           
 SVNUrl getUrl()
           
 SVNUrl getUrlCopiedFrom()
           
 java.lang.String getUrlString()
           
 boolean isCopied()
           
 boolean isSwitched()
           
 boolean isWcLocked()
           
 

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.

getFile

java.io.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.

getUrlCopiedFrom

SVNUrl getUrlCopiedFrom()
Returns:
the url of the copy source if copied, null otherwise

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