Package org.tmatesoft.svn.core.wc
Class SVNConflictResult
- java.lang.Object
-
- org.tmatesoft.svn.core.wc.SVNConflictResult
-
public class SVNConflictResult extends java.lang.ObjectThe SVNConflictResult represents the decision of the user'sconflict handlerregarding a conflict situation.- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Constructor Description SVNConflictResult(SVNConflictChoice conflictChoice, java.io.File mergedFile)Creates a newSVNConflictChoiceobject.SVNConflictResult(SVNConflictChoice conflictChoice, java.io.File mergedFile, boolean saveMerged)Creates a newSVNConflictChoiceobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SVNConflictChoicegetConflictChoice()Returns the conflict handler's choice.java.io.FilegetMergedFile()Returns the file with the merge result.booleanisIsSaveMerged()Says if the merged result should be saved or not to preserve changes made to it during conflict handling.
-
-
-
Constructor Detail
-
SVNConflictResult
public SVNConflictResult(SVNConflictChoice conflictChoice, java.io.File mergedFile)
Creates a newSVNConflictChoiceobject.- Parameters:
conflictChoice- way that the conflict should be resolved inmergedFile- file containing the merge result
-
SVNConflictResult
public SVNConflictResult(SVNConflictChoice conflictChoice, java.io.File mergedFile, boolean saveMerged)
Creates a newSVNConflictChoiceobject.- Parameters:
conflictChoice- way that the conflict should be resolved inmergedFile- file containing the merge result- Since:
- 1.3.3
-
-
Method Detail
-
getConflictChoice
public SVNConflictChoice getConflictChoice()
Returns the conflict handler's choice. This way implementor can manage conflicts providing a choice object defining what to do with the conflict.- Returns:
- conflict choice
-
getMergedFile
public java.io.File getMergedFile()
Returns the file with the merge result. Usually this will be theresult fileobtained by the user'sconflict handlerfrom thedescription'smerge file setobject.- Returns:
- merged file
-
isIsSaveMerged
public boolean isIsSaveMerged()
Says if the merged result should be saved or not to preserve changes made to it during conflict handling.- Returns:
- true if the merge result should be saved; false otherwise
- Since:
- 1.3.3
-
-