|
|||||||||
| 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.SvnResolve
public class SvnResolve
Represents resolve operation.
Performs automatic conflict resolution on a working copy
target.
depth is SVNDepth.EMPTY, acts only on
target; ifSVNDepth.FILES, resolves target
and its conflicted file children (if any); if SVNDepth.IMMEDIATES
, resolves target and all its immediate conflicted children
(both files and directories, if any); if SVNDepth.INFINITY,
resolves target and every conflicted file or directory
anywhere beneath it.
If target is not in a state of conflict to begin with, does
nothing. If target's conflict state is removed and caller's
ISVNEntryHandler is not null,
then an SVNEventAction.RESOLVED event is dispatched to the
handler.
| Constructor Summary | |
|---|---|
protected |
SvnResolve(SvnOperationFactory factory)
|
| Method Summary | |
|---|---|
SVNConflictChoice |
getConflictChoice()
Gets kind of choice object for making decision while resolving. |
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy |
boolean |
isResolveContents()
Returns whether to resolve target's content conflict |
boolean |
isResolveProperties()
Returns whether to resolve target's properties conflict |
boolean |
isResolveTree()
Returns whether to resolve any target's tree conflict |
void |
setConflictChoice(SVNConflictChoice conflictChoice)
Sets kind of choice object for making decision while resolving. |
void |
setResolveContents(boolean resolveContents)
Sets whether to resolve target's content conflict |
void |
setResolveProperties(boolean resolveProperties)
Sets whether to resolve target's properties conflict |
void |
setResolveTree(boolean resolveTree)
Sets whether to resolve any target's tree conflict |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SvnResolve(SvnOperationFactory factory)
| Method Detail |
|---|
public SVNConflictChoice getConflictChoice()
setConflictChoice(SVNConflictChoice)public void setConflictChoice(SVNConflictChoice conflictChoice)
conflictChoice is SVNConflictChoice.BASE,
resolves the conflict with the old file contents; if
SVNConflictChoice.MINE_FULL, uses the original working contents;
if SVNConflictChoice.THEIRS_FULL, the new contents; and if
SVNConflictChoice.MERGED, doesn't change the contents at all,
just removes the conflict status, which is the pre-1.2 (pre-SVN 1.5)
behavior.
SVNConflictChoice.THEIRS_CONFLICT and
SVNConflictChoice.MINE_CONFLICT are not legal for binary files or
properties.
conflictChoice - choice object for the operationpublic boolean isResolveContents()
true if content conflict of the target should be resolved, otherwise falsepublic void setResolveContents(boolean resolveContents)
resolveContents - true if content conflict of the target should be resolved, otherwise falsepublic boolean isResolveProperties()
true if properties conflict of the target should be resolved, otherwise falsepublic void setResolveProperties(boolean resolveProperties)
resolveProperties - true if properties conflict of the target should be resolved, otherwise falsepublic boolean isResolveTree()
true if any tree conflict of the target should be resolved, otherwise falsepublic void setResolveTree(boolean resolveTree)
resolveTree - true if any tree conflict of the target should be resolved, otherwise falsepublic 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 | ||||||||