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 SVNRepository

Method Summary
voidhandleLock(String path, SVNLock lock, SVNErrorMessage error)
Handles the path locked.
voidhandleUnlock(String path, SVNLock lock, SVNErrorMessage error)
Handles the path unlocked.

Method Detail

handleLock

public void handleLock(String path, SVNLock lock, SVNErrorMessage error)
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)
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-2007 TMate Software Ltd. All Rights Reserved.