|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tmatesoft.svn.core.wc2.SvnOperation<java.lang.Void>
org.tmatesoft.svn.core.wc2.SvnSetChangelist
public class SvnSetChangelist
Represents set changelist operation.
Adds/remove each path in targets (recursing to depth as
necessary) to changelist. If a path is already a member of
another changelist, then removes it from the other changelist and adds it
to changelist. (For now, a path cannot belong to two
changelists at once.)
changelists is an array of String changelist
names, used as a restrictive filter on items whose changelist assignments
are adjusted; that is, doesn't tweak the change set of any item unless
it's currently a member of one of those changelists. If
changelists is empty (or null),
no changelist filtering occurs.
Note: this metadata is purely a client-side "bookkeeping" convenience,
and is entirely managed by the working copy.
Note: this method does not require repository access.
| Constructor Summary | |
|---|---|
protected |
SvnSetChangelist(SvnOperationFactory factory)
|
| Method Summary | |
|---|---|
protected void |
ensureArgumentsAreValid()
|
java.lang.String |
getChangelistName()
Returns the operation's changelist name. |
protected int |
getMaximumTargetsCount()
|
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy |
boolean |
isRemove()
Returns whether targets should be removed from changelist. |
void |
setChangelistName(java.lang.String changelistName)
Sets the operation's changelist name. |
void |
setRemove(boolean remove)
Sets whether targets should be removed from changelist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SvnSetChangelist(SvnOperationFactory factory)
| Method Detail |
|---|
public java.lang.String getChangelistName()
public void setChangelistName(java.lang.String changelistName)
changelistName - changelist name of the operationpublic boolean isRemove()
targets should be removed from changelist.
true if targets should be removed from changelist, if false should be addedpublic void setRemove(boolean remove)
targets should be removed from changelist.
remove - true if targets should be removed from changelist, if false should be added
protected void ensureArgumentsAreValid()
throws SVNException
ensureArgumentsAreValid in class SvnOperation<java.lang.Void>SVNExceptionprotected int getMaximumTargetsCount()
getMaximumTargetsCount in class SvnOperation<java.lang.Void>public boolean isChangesWorkingCopy()
isChangesWorkingCopy in class SvnOperation<java.lang.Void>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 | ||||||||