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.CollectionvoidhandleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error) Handles the path locked.voidhandleUnlock(java.lang.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, setFailedMethods 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:
createSupportedOptionsin classAbstractSVNCommand
-
run
- Specified by:
runin classAbstractSVNCommand- Throws:
SVNException
-
handleLock
public void handleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException 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
public void handleUnlock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException 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
-