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 CollectionvoidhandleLock(String path, SVNLock lock, SVNErrorMessage error) Handles the path locked.voidhandleUnlock(String path, SVNLock lock, SVNErrorMessage error) Handles the path unlocked.voidrun()Methods inherited from class org.tmatesoft.svn.cli.svnadmin.SVNAdminCommand
getGlobalOptions, getLocalRepository, getLocalRepository, getResourceBundleName, getRevisionNumber, getSVNAdminEnvironmentMethods 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:
createSupportedOptionsin classAbstractSVNCommand
-
run
- Specified by:
runin classAbstractSVNCommand- Throws:
SVNException
-
handleLock
Description copied from interface:ISVNLockHandlerHandles the path locked.- Specified by:
handleLockin interfaceISVNLockHandler- Parameters:
path- a file path relative to the repository root directorylock- the lock set on thispatherror- if not null then it's an error message object for an error occurred while trying to lock an entry, in this caselockmay be null- Throws:
SVNException
-
handleUnlock
Description copied from interface:ISVNLockHandlerHandles the path unlocked.- Specified by:
handleUnlockin interfaceISVNLockHandler- Parameters:
path- a file path relative to the repository root directorylock- the lock released from thispatherror- if not null then it's an exception occurred while trying to unlock thepath, in this caselockmay be null- Throws:
SVNException
-