ISvnObjectReceiver<SVNLock>, ISvnOperationOptionsProviderpublic class SvnSetLock extends SvnReceivingOperation<SVNLock>
SvnOperation.run() method returns SVNLock object that represents information of lock.
SvnOperation.run() method throws SVNException if one of the following is true:
target's path to be locked is not under version control
target's path to lock it in the
repository - there's no such entry
targets to be locked belong to different
repositories ((for SVN 1.6 working copy only)
| Modifier | Constructor | Description |
|---|---|---|
protected |
SvnSetLock(SvnOperationFactory factory) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getLockMessage() |
Gets the optional comment for the lock.
|
protected int |
getMaximumTargetsCount() |
|
boolean |
isChangesWorkingCopy() |
Gets whether the operation changes working copy
|
boolean |
isStealLock() |
Gets whether or not all existing locks on the specified targets
will be "stolen" from another user or working copy.
|
void |
setLockMessage(java.lang.String lockMessage) |
Sets the optional comment for the lock.
|
void |
setStealLock(boolean stealLock) |
Sets whether or not all existing locks on the specified targets
will be "stolen" from another user or working copy.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTarget, cancel, ensureArgumentsAreValid, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalModefirst, getReceiver, initDefaults, last, receive, run, setReceiverprotected SvnSetLock(SvnOperationFactory factory)
public boolean isStealLock()
true if locks should be "stolen", otherwise falsepublic void setStealLock(boolean stealLock)
stealLock - true if locks should be "stolen", otherwise falsepublic java.lang.String getLockMessage()
public void setLockMessage(java.lang.String lockMessage)
lockMessage - comment for the lockprotected int getMaximumTargetsCount()
getMaximumTargetsCount in class SvnOperation<SVNLock>public boolean isChangesWorkingCopy()
isChangesWorkingCopy in class SvnOperation<SVNLock>true if the operation changes the working copy, otherwise false