public abstract class AbstractConflictResolver extends Object implements ConflictResolver
ConflictResolver.| Constructor and Description |
|---|
AbstractConflictResolver(boolean isBranchMerge)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
resolveConflicts(Project project,
ChangeConflictSet changeConflict)
Resolves all conflicts between the given change packages "theirs" and the
given local operations.
|
public AbstractConflictResolver(boolean isBranchMerge)
isBranchMerge - specifies whether two branches are merged oppossed to changes
from the same branch.public boolean resolveConflicts(Project project, ChangeConflictSet changeConflict)
resolveConflicts in interface ConflictResolverproject - the project at the time were all local changes are already
applied and their operations are NOT, in other words the base
version plus local operationschangeConflict - the ChangeConflictSet that needs to be resolvedConflictResolver.resolveConflicts(org.eclipse.emf.emfstore.internal.common.model.Project,
org.eclipse.emf.emfstore.internal.server.conflictDetection.ChangeConflictSet)Copyright © 2017. All rights reserved.