public class SvnRemoteUnlock extends SvnRemoteOperationRunner<SVNLock,SvnUnlock> implements ISVNLockHandler
UNKNOWN
NULL
Constructor and Description |
---|
SvnRemoteUnlock() |
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(SvnUnlock 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, reset
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
public boolean isApplicable(SvnUnlock operation, SvnWcGeneration wcGeneration) throws SVNException
ISvnOperationRunner
isApplicable
in interface ISvnOperationRunner<SVNLock,SvnUnlock>
isApplicable
in class SvnRemoteOperationRunner<SVNLock,SvnUnlock>
operation
- operation that needs runnerwcGeneration
- working copy generationtrue
if the runner is applicable, otherwise false
SVNException
protected SVNLock run() throws SVNException
run
in class SvnOperationRunner<SVNLock,SvnUnlock>
SVNException
public void handleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException
ISVNLockHandler
handleLock
in interface ISVNLockHandler
path
- a file path relative to the repository
root directorylock
- the lock set on this path
error
- 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 nullSVNException
public void handleUnlock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException
ISVNLockHandler
handleUnlock
in interface ISVNLockHandler
path
- a file path relative to the repository
root directorylock
- the lock released from this path
error
- if not null then
it's an exception occurred while trying to unlock
the path
, in this case lock
may be nullSVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.