Interface ConflictHandler

All Superinterfaces:
PartialConflictHandler
All Known Implementing Classes:
DefaultConflictHandler

@Deprecated public interface ConflictHandler extends PartialConflictHandler
Deprecated.
A ConflictHandler is responsible for handling conflicts which happen on Root.rebase() and on the implicit rebase operation which takes part on Root.commit(). This interface contains one method per type of conflict which might occur. Each of these methods must return a PartialConflictHandler.Resolution for the current conflict. The resolution indicates to use the changes in the current Root instance (PartialConflictHandler.Resolution.OURS) or to use the changes from the underlying persistence store (PartialConflictHandler.Resolution.THEIRS). Alternatively the resolution can also indicate that the changes have been successfully merged by this ConflictHandler instance (PartialConflictHandler.Resolution.MERGED).