| java.lang.Object org.tigris.subversion.javahl.Status
Status | public class Status (Code) | | Subversion status API.
This describes the status of one subversion item (file or directory) in
the working copy. Will be returned by SVNClient.status or
SVNClient.singleStatus
author: Patrick Mayweg author: Cédric Chabanois author: cchabanois@ifrance.com |
Inner Class :final public static class Kind implements StatusKind | |
Constructor Summary | |
public | Status(String path, String url, int nodeKind, long revision, long lastChangedRevision, long lastChangedDate, String lastCommitAuthor, int textStatus, int propStatus, int repositoryTextStatus, int repositoryPropStatus, boolean locked, boolean copied, String conflictOld, String conflictNew, String conflictWorking, String urlCopiedFrom, long revisionCopiedFrom, boolean switched, String lockToken, String lockOwner, String lockComment, long lockCreationDate, Lock reposLock, long reposLastCmtRevision, long reposLastCmtDate, int reposKind, String reposLastCmtAuthor) |
Status | public Status(String path, String url, int nodeKind, long revision, long lastChangedRevision, long lastChangedDate, String lastCommitAuthor, int textStatus, int propStatus, int repositoryTextStatus, int repositoryPropStatus, boolean locked, boolean copied, String conflictOld, String conflictNew, String conflictWorking, String urlCopiedFrom, long revisionCopiedFrom, boolean switched, String lockToken, String lockOwner, String lockComment, long lockCreationDate, Lock reposLock, long reposLastCmtRevision, long reposLastCmtDate, int reposKind, String reposLastCmtAuthor)(Code) | | this constructor should only called from JNI code
Parameters: path - the file system path of item Parameters: url - the url of the item Parameters: nodeKind - kind of item (directory, file or unknown Parameters: revision - the revision number of the base Parameters: lastChangedRevision - the last revision this item was changed Parameters: lastChangedDate - the last date this item was changed Parameters: lastCommitAuthor - the author of the last change Parameters: textStatus - the file or directory status (SeeStatusKind) Parameters: propStatus - the property status (See StatusKind) Parameters: repositoryTextStatus - the file or directory status of the base Parameters: repositoryPropStatus - the property status of the base Parameters: locked - if the item is locked (running or abortedoperation) Parameters: copied - if the item is copy Parameters: conflictOld - in case of conflict, the file name of thethe common base version Parameters: conflictNew - in case of conflict, the file name of newrepository version Parameters: conflictWorking - in case of conflict, the file name of theformer working copy version Parameters: urlCopiedFrom - if copied, the url of the copy source Parameters: revisionCopiedFrom - if copied, the revision number of the copysource Parameters: switched - flag if the node has been switched in the path Parameters: lockToken - the token for the current lock if any Parameters: lockOwner - the owner of the current lock is any Parameters: lockComment - the comment of the current lock if any Parameters: lockCreationDate - the date, the lock was created if any Parameters: reposLock - the lock as stored in the repository ifany Parameters: reposLastCmtRevision - the youngest revision, if out of date Parameters: reposLastCmtDate - the last commit date, if out of date Parameters: reposKind - the kind of the youngest revision, ifout of date Parameters: reposLastCmtAuthor - the author of the last commit, if out ofdate |
getConflictNew | public String getConflictNew()(Code) | | Returns in case of conflict, the filename of the most recent repository
version
the filename of the most recent repository version |
getConflictOld | public String getConflictOld()(Code) | | Returns in case of conflict, the filename of the common base version
the filename of the common base version |
getConflictWorking | public String getConflictWorking()(Code) | | Returns in case of conflict, the filename of the former working copy
version
the filename of the former working copy version |
getLastChangedDate | public Date getLastChangedDate()(Code) | | Returns the last date the item was changed or null
the last time the item was changed.or null if not available |
getLastChangedRevision | public Revision.Number getLastChangedRevision()(Code) | | Returns the last revision the file was changed as a Revision object
last changed revision |
getLastChangedRevisionNumber | public long getLastChangedRevisionNumber()(Code) | | Returns the last revision the file was changed as a long integer
last changed revision |
getLastCommitAuthor | public String getLastCommitAuthor()(Code) | | Returns the author of the last changed or null
name of author if versioned, null otherwise |
getLockComment | public String getLockComment()(Code) | | Returns the lock comment
the lock comment since: 1.2 |
getLockCreationDate | public Date getLockCreationDate()(Code) | | Returns the lock creation date
the lock creation date since: 1.2 |
getLockOwner | public String getLockOwner()(Code) | | Returns the lock owner
the lock owner since: 1.2 |
getLockToken | public String getLockToken()(Code) | | Returns the lock token
the lock token since: 1.2 |
getNodeKind | public int getNodeKind()(Code) | | Returns the kind of the node (file, directory or unknown, see NodeKind)
the node kind |
getPath | public String getPath()(Code) | | Returns the file system path of the item
path of status entry |
getPropStatus | public int getPropStatus()(Code) | | Returns the status of the properties (See Status Kind)
file status property enum of the "property" component. |
getPropStatusDescription | public String getPropStatusDescription()(Code) | | Returns the status of the properties as text
english text |
getReposKind | public int getReposKind()(Code) | | The node kind (e.g. file, directory, etc.), ornull if up to date. since: 1.3 |
getReposLastCmtAuthor | public String getReposLastCmtAuthor()(Code) | | The author of the last commit, or null ifup to date. since: 1.3 |
getReposLastCmtDate | public Date getReposLastCmtDate()(Code) | | The last committed date, or null if up todate. since: 1.3 |
getReposLastCmtRevisionNumber | public long getReposLastCmtRevisionNumber()(Code) | | The last committed revision as a long integer, or-1 if up to date. since: 1.3 |
getReposLock | public Lock getReposLock()(Code) | | Returns the lock as in the repository
the lock as in the repository since: 1.2 |
getRepositoryPropStatus | public int getRepositoryPropStatus()(Code) | | Returns test status of the properties in the repository (See StatusKind)
file status property enum of the "property" component im therepository. |
getRepositoryTextStatus | public int getRepositoryTextStatus()(Code) | | Returns the status of the item in the repository (See StatusKind)
file status property enum of the "textual" component in therepository. |
getRevision | public Revision.Number getRevision()(Code) | | Returns the revision as a Revision object
revision if versioned, otherwise SVN_INVALID_REVNUM |
getRevisionCopiedFrom | public Revision.Number getRevisionCopiedFrom()(Code) | | Returns if copied the source revision as a Revision object
the source revision |
getRevisionCopiedFromNumber | public long getRevisionCopiedFromNumber()(Code) | | Returns if copied the source revision as s long integer
the source revision |
getRevisionNumber | public long getRevisionNumber()(Code) | | Returns the revision as a long integer
revision if versioned, otherwise SVN_INVALID_REVNUM |
getTextStatus | public int getTextStatus()(Code) | | Returns the status of the item (See StatusKind)
file status property enum of the "textual" component. |
getTextStatusDescription | public String getTextStatusDescription()(Code) | | Returns the status of the item as text.
english text |
getUrl | public String getUrl()(Code) | | Returns the URI to where the item might exist in the
repository. We say "might" because the item might exist in
your working copy, but have been deleted from the repository.
Or it might exist in the repository, but your working copy
might not yet contain it (because the WC is not up to date).
URI in repository, or null if the itemexists in neither the repository nor the WC. |
getUrlCopiedFrom | public String getUrlCopiedFrom()(Code) | | Returns if copied the copy source url or null
the source url |
hasRemote | public boolean hasRemote()(Code) | | Returns if the resource has a remote counter-part
has version in repository |
isAdded | public boolean isAdded()(Code) | | Returns if the resource just has been added
if added |
isCopied | public boolean isCopied()(Code) | | Returns if the item has been copied
true if copied |
isDeleted | public boolean isDeleted()(Code) | | Returns if the resource is schedules for delete
if deleted |
isIgnored | public boolean isIgnored()(Code) | | Returns if the resource is ignored by svn (only returned if noIgnore
is set on SVNClient.list)
if ignore |
isLocked | public boolean isLocked()(Code) | | Returns if the item is locked (running or aborted subversion operation)
true if locked |
isManaged | public boolean isManaged()(Code) | | Returns if is managed by svn (added, normal, modified ...)
if managed by svn |
isMerged | public boolean isMerged()(Code) | | Returns if the resource has been merged
if merged |
isModified | public boolean isModified()(Code) | | Returns if the resource itself is modified
if modified |
isSwitched | public boolean isSwitched()(Code) | | Returns if the repository url has been switched
is the item has been switched |
|
|