Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * ====================================================================
  * Copyright (c) 2004-2006 TMate Software Ltd.  All rights reserved.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution.  The terms
  * are also available at http://svnkit.com/license.html
  * If newer versions of this license are posted there, you may use a
  * newer version instead, at your option.
 * ====================================================================
 */
package org.tmatesoft.svn.core.io;
The ISVNLockHandler interface is used to provide some extra processing of locked/unlocked paths.

Author(s):
TMate Software Ltd.
Version:
1.1.0
See also:
SVNRepository#lock(Map , String , boolean , ISVNLockHandler )
SVNRepository#unlock(Map , boolean , ISVNLockHandler )
public interface ISVNLockHandler {
    
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:
org.tmatesoft.svn.core.SVNException
    public void handleLock(String pathSVNLock lockSVNErrorMessage errorthrows 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:
org.tmatesoft.svn.core.SVNException
    public void handleUnlock(String pathSVNLock lockSVNErrorMessage errorthrows SVNException;
New to GrepCode? Check out our FAQ X