Class SVNStatusUnversioned
java.lang.Object
org.tigris.subversion.svnclientadapter.SVNStatusUnversioned
- All Implemented Interfaces:
ISVNStatus
A special
ISVNStatus implementation that is used if a File/Folder is not versioned or is ignored.- Author:
- Philip Schatz (schatz at tigris), Cédric Chabanois (cchabanois at no-log.org)
-
Constructor Summary
ConstructorsConstructorDescriptionSVNStatusUnversioned(File file) Constructor.SVNStatusUnversioned(File file, boolean isIgnored) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the conflict descriptor for the tree conflictReturns in case of conflict, the file of the most recent repository versionReturns in case of conflict, the file of the common base versionReturns in case of conflict, the file of the former working copy versiongetFile()get the last commit author or null if resource is not versionned or if last commit author is unknownReturns the lock commentReturns the lock creation dateReturns the lock ownergetPath()getUrl()booleanReturns the tree conflicted statebooleanisCopied()booleanReturns if the item is a file externalbooleanboolean
-
Constructor Details
-
SVNStatusUnversioned
Constructor.- Parameters:
file-isIgnored- true when creatingSVNStatusKind.IGNORED, otherwiseSVNStatusKind.UNVERSIONED
-
SVNStatusUnversioned
Constructor. Creates an unversioned status (i.e. not ignored)- Parameters:
file-
-
-
Method Details
-
getPath
- Specified by:
getPathin interfaceISVNStatus- Returns:
- The path to this item relative to the directory from
which
statuswas run.
-
getMovedFromAbspath
- Specified by:
getMovedFromAbspathin interfaceISVNStatus- Returns:
- The absolute path from which this item was moved.
-
getMovedToAbspath
- Specified by:
getMovedToAbspathin interfaceISVNStatus- Returns:
- The absolute path to which this item was moved.
-
getFile
- Specified by:
getFilein interfaceISVNStatus- Returns:
- The absolute path to this item.
-
getUrl
- Specified by:
getUrlin interfaceISVNStatus- Returns:
- the SVNUrl instance of url of the resource on repository
-
getUrlString
- Specified by:
getUrlStringin interfaceISVNStatus- Returns:
- the url (String) of the resource in repository
-
getLastChangedRevision
- Specified by:
getLastChangedRevisionin interfaceISVNStatus- Returns:
- the last changed revision or null if resource is not managed
-
getLastChangedDate
- Specified by:
getLastChangedDatein interfaceISVNStatus- Returns:
- date this resource last changed
-
getLastCommitAuthor
Description copied from interface:ISVNStatusget the last commit author or null if resource is not versionned or if last commit author is unknown- Specified by:
getLastCommitAuthorin interfaceISVNStatus- Returns:
- the last commit author or null
-
getTextStatus
- Specified by:
getTextStatusin interfaceISVNStatus- Returns:
- the file or directory status
-
getPropStatus
- Specified by:
getPropStatusin interfaceISVNStatus- Returns:
- status of properties (either Kind.NORMAL, Kind.CONFLICTED or Kind.MODIFIED)
-
getRepositoryTextStatus
- Specified by:
getRepositoryTextStatusin interfaceISVNStatus- Returns:
- the file or directory status of base
-
getRepositoryPropStatus
- Specified by:
getRepositoryPropStatusin interfaceISVNStatus- Returns:
- the status of the properties base (either Kind.NORMAL, Kind.CONFLICTED or Kind.MODIFIED)
-
getRevision
- Specified by:
getRevisionin interfaceISVNStatus- Returns:
- the revision of the resource or null if not managed
-
isCopied
public boolean isCopied()- Specified by:
isCopiedin interfaceISVNStatus- Returns:
- true when the resource was copied
-
isWcLocked
public boolean isWcLocked()- Specified by:
isWcLockedin interfaceISVNStatus- Returns:
- true when the working copy directory is locked.
-
isSwitched
public boolean isSwitched()- Specified by:
isSwitchedin interfaceISVNStatus- Returns:
- true when the resource was switched relative to its parent.
-
getNodeKind
- Specified by:
getNodeKindin interfaceISVNStatus- Returns:
- The node kind of the managed resource, or
SVNNodeKind.UNKNOWNnot managed.
-
getConflictNew
Description copied from interface:ISVNStatusReturns in case of conflict, the file of the most recent repository version- Specified by:
getConflictNewin interfaceISVNStatus- Returns:
- the filename of the most recent repository version
-
getConflictOld
Description copied from interface:ISVNStatusReturns in case of conflict, the file of the common base version- Specified by:
getConflictOldin interfaceISVNStatus- Returns:
- the filename of the common base version
-
getConflictWorking
Description copied from interface:ISVNStatusReturns in case of conflict, the file of the former working copy version- Specified by:
getConflictWorkingin interfaceISVNStatus- Returns:
- the filename of the former working copy version
-
getLockComment
Description copied from interface:ISVNStatusReturns the lock comment- Specified by:
getLockCommentin interfaceISVNStatus- Returns:
- the lock comment
-
getLockCreationDate
Description copied from interface:ISVNStatusReturns the lock creation date- Specified by:
getLockCreationDatein interfaceISVNStatus- Returns:
- the lock creation date
-
getLockOwner
Description copied from interface:ISVNStatusReturns the lock owner- Specified by:
getLockOwnerin interfaceISVNStatus- Returns:
- the lock owner
-
getConflictDescriptor
Description copied from interface:ISVNStatusReturns the conflict descriptor for the tree conflict- Specified by:
getConflictDescriptorin interfaceISVNStatus- Returns:
- the conflict descriptor for the tree conflict
-
hasTreeConflict
public boolean hasTreeConflict()Description copied from interface:ISVNStatusReturns the tree conflicted state- Specified by:
hasTreeConflictin interfaceISVNStatus- Returns:
- the tree conflicted state
-
isFileExternal
public boolean isFileExternal()Description copied from interface:ISVNStatusReturns if the item is a file external- Specified by:
isFileExternalin interfaceISVNStatus- Returns:
- is the item is a file external
-