Package org.tmatesoft.svn.core.wc
Class SVNTreeConflictDescription
java.lang.Object
org.tmatesoft.svn.core.wc.SVNConflictDescription
org.tmatesoft.svn.core.wc.SVNTreeConflictDescription
SVNTreeConflictDescription brings information on a tree conflict.
- Since:
- 1.3
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
Constructor Summary
ConstructorsConstructorDescriptionSVNTreeConflictDescription(File path, SVNNodeKind nodeKind, SVNConflictAction conflictAction, SVNConflictReason conflictReason, SVNOperation operation, org.tmatesoft.svn.core.internal.wc.SVNConflictVersion sourceLeftVersion, org.tmatesoft.svn.core.internal.wc.SVNConflictVersion sourceRightVersion) Creates a newSVNTreeConflictDescription. -
Method Summary
Modifier and TypeMethodDescriptionReturns the user operation that exposed this tree conflict.getPath()Returns the wc file.Returnsnull.org.tmatesoft.svn.core.internal.wc.SVNConflictVersionReturns info on the "merge-left source" or "older" version of incoming change.org.tmatesoft.svn.core.internal.wc.SVNConflictVersionReturns info on the "merge-right source" or "their" version of incoming change.booleanReturnsfalse.booleanReturnsfalse.booleanReturnstrue.voidsetSourceLeftVersion(org.tmatesoft.svn.core.internal.wc.SVNConflictVersion sourceLeftVersion) Methods inherited from class org.tmatesoft.svn.core.wc.SVNConflictDescription
getConflictAction, getConflictReason, getMergeFiles, getNodeKind, setConflictAction
-
Constructor Details
-
SVNTreeConflictDescription
public SVNTreeConflictDescription(File path, SVNNodeKind nodeKind, SVNConflictAction conflictAction, SVNConflictReason conflictReason, SVNOperation operation, org.tmatesoft.svn.core.internal.wc.SVNConflictVersion sourceLeftVersion, org.tmatesoft.svn.core.internal.wc.SVNConflictVersion sourceRightVersion) Creates a newSVNTreeConflictDescription.- Parameters:
path- wc pathnodeKind- kind of the node, on which the tree conflict occurredconflictAction- action which lead to the conflictconflictReason- reason why the conflict occurredoperation- user operation which exposed the conflictsourceLeftVersion- info on the "merge-left source" or "older" version of incoming changesourceRightVersion- info on the "merge-right source" or "their" version of incoming change- Since:
- 1.3
-
-
Method Details
-
isTextConflict
public boolean isTextConflict()Returnsfalse.- Specified by:
isTextConflictin classSVNConflictDescription- Returns:
false- Since:
- 1.3
-
isPropertyConflict
public boolean isPropertyConflict()Returnsfalse.- Specified by:
isPropertyConflictin classSVNConflictDescription- Returns:
false- Since:
- 1.3
-
isTreeConflict
public boolean isTreeConflict()Returnstrue.- Specified by:
isTreeConflictin classSVNConflictDescription- Returns:
true- Since:
- 1.3
-
getPath
Returns the wc file.- Overrides:
getPathin classSVNConflictDescription- Returns:
- detranslated wc file
- Since:
- 1.3
-
getOperation
Returns the user operation that exposed this tree conflict.- Returns:
- user operation
- Since:
- 1.3
-
getSourceLeftVersion
public org.tmatesoft.svn.core.internal.wc.SVNConflictVersion getSourceLeftVersion()Returns info on the "merge-left source" or "older" version of incoming change.- Returns:
- left version info
- Since:
- 1.3
-
setSourceLeftVersion
public void setSourceLeftVersion(org.tmatesoft.svn.core.internal.wc.SVNConflictVersion sourceLeftVersion) -
getSourceRightVersion
public org.tmatesoft.svn.core.internal.wc.SVNConflictVersion getSourceRightVersion()Returns info on the "merge-right source" or "their" version of incoming change.- Returns:
- right version info
- Since:
- 1.3
-
getPropertyName
Returnsnull.- Specified by:
getPropertyNamein classSVNConflictDescription- Returns:
null- Since:
- 1.3
-