Package org.tmatesoft.svn.core.io
Interface ISVNLockHandler
-
public interface ISVNLockHandlerThe ISVNLockHandler interface is used to provide some extra processing of locked/unlocked paths.- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
- See Also:
SVNRepository.lock(java.util.Map, String, boolean, ISVNLockHandler),SVNRepository.unlock(java.util.Map, boolean, ISVNLockHandler)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error)Handles the path locked.voidhandleUnlock(java.lang.String path, SVNLock lock, SVNErrorMessage error)Handles the path unlocked.
-
-
-
Method Detail
-
handleLock
void handleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNExceptionHandles the path locked.- Parameters:
path- a file path relative to the repository root directorylock- the lock set on thispatherror- if not null then it's an error message object for an error occurred while trying to lock an entry, in this caselockmay be null- Throws:
SVNException
-
handleUnlock
void handleUnlock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNExceptionHandles the path unlocked.- Parameters:
path- a file path relative to the repository root directorylock- the lock released from thispatherror- if not null then it's an exception occurred while trying to unlock thepath, in this caselockmay be null- Throws:
SVNException
-
-