public class SVNAdminRemoveLocksCommand extends SVNAdminCommand implements ISVNLockHandler
Constructor and Description |
---|
SVNAdminRemoveLocksCommand() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection |
createSupportedOptions() |
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() |
getGlobalOptions, getLocalRepository, getLocalRepository, getResourceBundleName, getRevisionNumber, getSVNAdminEnvironment
availableCommands, getAliases, getCommand, getDescription, getEnvironment, getName, getSupportedOptions, getValidOptions, init, isAlias, isFailed, isOptionSupported, registerCommand, setFailed
protected java.util.Collection createSupportedOptions()
createSupportedOptions
in class AbstractSVNCommand
public void run() throws SVNException
run
in class AbstractSVNCommand
SVNException
public void handleLock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException
ISVNLockHandler
handleLock
in interface ISVNLockHandler
path
- a file path relative to the repository
root directorylock
- the lock set on this path
error
- if not null then
it's an error message object for an error occurred
while trying to lock an entry, in this case
lock
may be nullSVNException
public void handleUnlock(java.lang.String path, SVNLock lock, SVNErrorMessage error) throws SVNException
ISVNLockHandler
handleUnlock
in interface ISVNLockHandler
path
- a file path relative to the repository
root directorylock
- the lock released from this path
error
- if not null then
it's an exception occurred while trying to unlock
the path
, in this case lock
may be nullSVNException
Copyright © 2020. All rights reserved.