public interface ISVNLockHandler
SVNRepository.lock(java.util.Map, String, boolean, ISVNLockHandler)
,
SVNRepository.unlock(java.util.Map, boolean, ISVNLockHandler)
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.
|
void handleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException
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
void handleUnlock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException
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.