public class SvnRemoteSetLock extends SvnRemoteOperationRunner<SVNLock,SvnSetLock> implements ISVNLockHandler
UNKNOWNNULL| Constructor and Description |
|---|
SvnRemoteSetLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleLock(java.lang.String path,
SVNLock lock,
SVNErrorMessage error)
Handles the path locked.
|
void |
handleUnlock(java.lang.String path,
SVNLock lock,
SVNErrorMessage error)
Handles the path unlocked.
|
boolean |
isApplicable(SvnSetLock operation,
SvnWcGeneration wcGeneration)
Returns whether this runner is applicable for the operation on concrete working copy generation (1.7 or 1.6)
|
protected SVNLock |
run() |
getRepositoryAccess, getWcGeneration, isRevisionLocalToWc, resetcheckCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContextpublic boolean isApplicable(SvnSetLock operation, SvnWcGeneration wcGeneration) throws SVNException
ISvnOperationRunnerisApplicable in interface ISvnOperationRunner<SVNLock,SvnSetLock>isApplicable in class SvnRemoteOperationRunner<SVNLock,SvnSetLock>operation - operation that needs runnerwcGeneration - working copy generationtrue if the runner is applicable, otherwise falseSVNExceptionprotected SVNLock run() throws SVNException
run in class SvnOperationRunner<SVNLock,SvnSetLock>SVNExceptionpublic void handleLock(java.lang.String path,
SVNLock lock,
SVNErrorMessage error)
throws SVNException
ISVNLockHandlerhandleLock in interface ISVNLockHandlerpath - a file path relative to the repository
root directorylock - the lock set on this patherror - if not null then
it's an error message object for an error occurred
while trying to lock an entry, in this case
lock may be nullSVNExceptionpublic void handleUnlock(java.lang.String path,
SVNLock lock,
SVNErrorMessage error)
throws SVNException
ISVNLockHandlerhandleUnlock in interface ISVNLockHandlerpath - a file path relative to the repository
root directorylock - the lock released from this patherror - if not null then
it's an exception occurred while trying to unlock
the path, in this case lock
may be nullSVNExceptionCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.