org.tigris.subversion.svnclientadapter
public class SVNStatusUnversioned extends java.lang.Object implements ISVNStatus
ISVNStatus
implementation that is used if a File/Folder is not versioned or is ignored.Constructor and Description |
---|
SVNStatusUnversioned(java.io.File file)
Constructor.
|
SVNStatusUnversioned(java.io.File file,
boolean isIgnored)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SVNConflictDescriptor |
getConflictDescriptor()
Returns the conflict descriptor for the tree conflict
|
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 |
hasTreeConflict()
Returns the tree conflicted state
|
boolean |
isCopied() |
boolean |
isFileExternal()
Returns if the item is a file external
|
boolean |
isSwitched() |
boolean |
isWcLocked() |
public SVNStatusUnversioned(java.io.File file, boolean isIgnored)
file
- isIgnored
- true when creating SVNStatusKind.IGNORED
, otherwise SVNStatusKind.UNVERSIONED
public SVNStatusUnversioned(java.io.File file)
file
- public java.lang.String getPath()
getPath
in interface ISVNStatus
status
was run.public java.io.File getFile()
getFile
in interface ISVNStatus
public SVNUrl getUrl()
getUrl
in interface ISVNStatus
public java.lang.String getUrlString()
getUrlString
in interface ISVNStatus
public SVNRevision.Number getLastChangedRevision()
getLastChangedRevision
in interface ISVNStatus
public java.util.Date getLastChangedDate()
getLastChangedDate
in interface ISVNStatus
public java.lang.String getLastCommitAuthor()
ISVNStatus
getLastCommitAuthor
in interface ISVNStatus
public SVNStatusKind getTextStatus()
getTextStatus
in interface ISVNStatus
public SVNStatusKind getPropStatus()
getPropStatus
in interface ISVNStatus
public SVNStatusKind getRepositoryTextStatus()
getRepositoryTextStatus
in interface ISVNStatus
public SVNStatusKind getRepositoryPropStatus()
getRepositoryPropStatus
in interface ISVNStatus
public SVNRevision.Number getRevision()
getRevision
in interface ISVNStatus
public boolean isCopied()
isCopied
in interface ISVNStatus
public boolean isWcLocked()
isWcLocked
in interface ISVNStatus
public boolean isSwitched()
isSwitched
in interface ISVNStatus
public SVNNodeKind getNodeKind()
getNodeKind
in interface ISVNStatus
SVNNodeKind.UNKNOWN
not managed.public SVNUrl getUrlCopiedFrom()
getUrlCopiedFrom
in interface ISVNStatus
public java.io.File getConflictNew()
ISVNStatus
getConflictNew
in interface ISVNStatus
public java.io.File getConflictOld()
ISVNStatus
getConflictOld
in interface ISVNStatus
public java.io.File getConflictWorking()
ISVNStatus
getConflictWorking
in interface ISVNStatus
public java.lang.String getLockComment()
ISVNStatus
getLockComment
in interface ISVNStatus
public java.util.Date getLockCreationDate()
ISVNStatus
getLockCreationDate
in interface ISVNStatus
public java.lang.String getLockOwner()
ISVNStatus
getLockOwner
in interface ISVNStatus
public SVNConflictDescriptor getConflictDescriptor()
ISVNStatus
getConflictDescriptor
in interface ISVNStatus
public boolean hasTreeConflict()
ISVNStatus
hasTreeConflict
in interface ISVNStatus
public boolean isFileExternal()
ISVNStatus
isFileExternal
in interface ISVNStatus