public class SvnUnlock 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 is not under version control
target
's path to unlock it in the
repository - there's no such entry
breakLock
is false
targets
to be unlocked belong to different
repositories
Modifier | Constructor and Description |
---|---|
protected |
SvnUnlock(SvnOperationFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected int |
getMaximumTargetsCount() |
boolean |
isBreakLock()
Gets whether or not the locks belonging to different users should be also unlocked ("broken")
|
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy
|
void |
setBreakLock(boolean breakLock)
Sets whether or not the locks belonging to different users should be also unlocked ("broken")
|
first, getReceiver, initDefaults, last, receive, run, setReceiver
addTarget, 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, setSqliteJournalMode
protected SvnUnlock(SvnOperationFactory factory)
public boolean isBreakLock()
true
if other users locks should be "broken", otherwise false
public void setBreakLock(boolean breakLock)
breakLock
- true
if other users locks should be "broken", otherwise false
protected 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
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.