Package org.tmatesoft.svn.cli.svnadmin
Class SVNAdminRemoveLocksCommand
java.lang.Object
org.tmatesoft.svn.cli.AbstractSVNCommand
org.tmatesoft.svn.cli.svnadmin.SVNAdminCommand
org.tmatesoft.svn.cli.svnadmin.SVNAdminRemoveLocksCommand
- All Implemented Interfaces:
ISVNLockHandler
- Version:
- 1.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected java.util.Collection
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
run()
Methods inherited from class org.tmatesoft.svn.cli.svnadmin.SVNAdminCommand
getGlobalOptions, getLocalRepository, getLocalRepository, getResourceBundleName, getRevisionNumber, getSVNAdminEnvironment
Methods inherited from class org.tmatesoft.svn.cli.AbstractSVNCommand
availableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SVNAdminRemoveLocksCommand
public SVNAdminRemoveLocksCommand()
-
-
Method Details
-
createSupportedOptions
protected java.util.Collection createSupportedOptions()- Specified by:
createSupportedOptions
in classAbstractSVNCommand
-
run
- Specified by:
run
in classAbstractSVNCommand
- Throws:
SVNException
-
handleLock
public void handleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException Description copied from interface:ISVNLockHandler
Handles the path locked.- Specified by:
handleLock
in interfaceISVNLockHandler
- Parameters:
path
- a file path relative to the repository root directorylock
- the lock set on thispath
error
- if not null then it's an error message object for an error occurred while trying to lock an entry, in this caselock
may be null- Throws:
SVNException
-
handleUnlock
public void handleUnlock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException Description copied from interface:ISVNLockHandler
Handles the path unlocked.- Specified by:
handleUnlock
in interfaceISVNLockHandler
- Parameters:
path
- a file path relative to the repository root directorylock
- the lock released from thispath
error
- if not null then it's an exception occurred while trying to unlock thepath
, in this caselock
may be null- Throws:
SVNException
-