org.tmatesoft.svn.core.io

Interface ISVNLockHandler

public interface ISVNLockHandler

The ISVNLockHandler interface is used to provide some extra processing of locked/unlocked paths.
Version:
1.1.1
Author:
TMate Software Ltd.
See Also:
SVNRepository.lock(Map,String,boolean,ISVNLockHandler), SVNRepository.unlock(Map,boolean,ISVNLockHandler)

Method Summary

void
handleLock(String path, SVNLock lock, SVNErrorMessage error)
Handles the path locked.
void
handleUnlock(String path, SVNLock lock, SVNErrorMessage error)
Handles the path unlocked.

Method Details

handleLock

public void handleLock(String path,
                       SVNLock lock,
                       SVNErrorMessage error)
            throws SVNException
Handles the path locked.
Parameters:
path - a file path relative to the repository root directory
lock - 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 null
Throws:
SVNException -

handleUnlock

public void handleUnlock(String path,
                         SVNLock lock,
                         SVNErrorMessage error)
            throws SVNException
Handles the path unlocked.
Parameters:
path - a file path relative to the repository root directory
lock - 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 null
Throws:
SVNException -

Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.