|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tmatesoft.svn.core.wc2.SvnOperation<T>
org.tmatesoft.svn.core.wc2.SvnReceivingOperation<SVNLock>
org.tmatesoft.svn.core.wc2.SvnUnlock
public class SvnUnlock
Represents operation for unlocking files. Unlocks file items in a working copy as well as in a repository.
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
| Constructor Summary | |
|---|---|
protected |
SvnUnlock(SvnOperationFactory factory)
|
| Method Summary | |
|---|---|
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") |
| Methods inherited from class org.tmatesoft.svn.core.wc2.SvnReceivingOperation |
|---|
first, getReceiver, initDefaults, last, receive, run, setReceiver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SvnUnlock(SvnOperationFactory factory)
| Method Detail |
|---|
public boolean isBreakLock()
true if other users locks should be "broken", otherwise falsepublic void setBreakLock(boolean breakLock)
breakLock - true if other users locks should be "broken", otherwise falseprotected 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||