Package org.tmatesoft.svn.cli.svn
Class SVNCommandLineConflictHandler
java.lang.Object
org.tmatesoft.svn.cli.svn.SVNCommandLineConflictHandler
- All Implemented Interfaces:
ISVNConflictHandler
- Since:
- 1.2.0
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SVNConflictAcceptPolicyprivate booleanprivate SVNCommandEnvironment -
Constructor Summary
ConstructorsConstructorDescriptionSVNCommandLineConflictHandler(SVNConflictAcceptPolicy accept, SVNCommandEnvironment environment) -
Method Summary
Modifier and TypeMethodDescriptionprivate SVNConflictStatshandleConflict(SVNConflictDescription conflictDescription) Handles the conflict given the conflict descriptionconflictDescriptionand returnshandleConflictNoStats(SVNConflictDescription conflictDescription) private voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myAccept
-
mySVNEnvironment
-
myIsExternalFailed
private boolean myIsExternalFailed
-
-
Constructor Details
-
SVNCommandLineConflictHandler
public SVNCommandLineConflictHandler(SVNConflictAcceptPolicy accept, SVNCommandEnvironment environment)
-
-
Method Details
-
handleConflict
public SVNConflictResult handleConflict(SVNConflictDescription conflictDescription) throws SVNException Description copied from interface:ISVNConflictHandlerHandles the conflict given the conflict descriptionconflictDescriptionand returnsSVNConflictResult.getConflictChoice()values ofSVNConflictChoice.MINE_CONFLICTandSVNConflictChoice.THEIRS_CONFLICTare not legal for conflicts in binary files or properties.- Specified by:
handleConflictin interfaceISVNConflictHandler- Parameters:
conflictDescription- describes the exact nature of the conflict, and provides information to help resolve it- Returns:
- result for the conflict described by
conflictDescription - Throws:
SVNException
-
handleConflictNoStats
public SVNConflictResult handleConflictNoStats(SVNConflictDescription conflictDescription) throws SVNException - Throws:
SVNException
-
showConflictedChunks
- Throws:
SVNException
-
getConflictStats
-