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 Collection
void
handleLock
(String path, SVNLock lock, SVNErrorMessage error) Handles the path locked.void
handleUnlock
(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
-
Constructor Details
-
SVNAdminRemoveLocksCommand
public SVNAdminRemoveLocksCommand()
-
-
Method Details
-
createSupportedOptions
- Specified by:
createSupportedOptions
in classAbstractSVNCommand
-
run
- Specified by:
run
in classAbstractSVNCommand
- Throws:
SVNException
-
handleLock
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
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
-