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
public class SVNAdminRemoveLocksCommand extends SVNAdminCommand implements ISVNLockHandler
- Version:
- 1.3
-
-
Constructor Summary
Constructors Constructor Description SVNAdminRemoveLocksCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.CollectioncreateSupportedOptions()voidhandleLock(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, getSVNAdminEnvironment
-
Methods inherited from class org.tmatesoft.svn.cli.AbstractSVNCommand
availableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailed
-
-
-
-
Method Detail
-
createSupportedOptions
protected java.util.Collection createSupportedOptions()
- Specified by:
createSupportedOptionsin classAbstractSVNCommand
-
run
public void run() throws SVNException- Specified by:
runin classAbstractSVNCommand- Throws:
SVNException
-
handleLock
public void handleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNExceptionDescription 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 SVNExceptionDescription 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
-
-