public class ChangeConflictSet extends Object implements APIDelegate<ESConflictSet>
ESConflictSetImpl containing
the changes that caused the conflict.| Constructor and Description |
|---|
ChangeConflictSet(Set<ConflictBucket> conflictBuckets,
Set<AbstractOperation> notInvolvedInConflict,
ModelElementIdToEObjectMapping idToEObjectMapping,
List<AbstractChangePackage> leftChanges,
List<AbstractChangePackage> rightChanges)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ESConflictSetImpl |
createAPI()
Creates the API interface for this class.
|
Set<ConflictBucket> |
getConflictBuckets()
Returns a set of conflict candidates.
|
ModelElementIdToEObjectMapping |
getIdToEObjectMapping()
Returns the mapping from IDs to EObjects and vice versa.
The mapping contains all IDs of model elements involved in the ChangePackages
as well as those contained by the project in the ProjectSpace |
List<AbstractChangePackage> |
getLeftChanges()
Returns a list of
ChangePackages representing one side of the conflict. |
Set<AbstractOperation> |
getNotInvolvedInConflict()
Returns a set of operations not involved in any conflict.
|
List<AbstractChangePackage> |
getRightChanges()
Returns a list of
ChangePackages representing the other side of the conflict. |
ESConflictSet |
toAPI()
Returns the API interface of this class.
|
public ChangeConflictSet(Set<ConflictBucket> conflictBuckets, Set<AbstractOperation> notInvolvedInConflict, ModelElementIdToEObjectMapping idToEObjectMapping, List<AbstractChangePackage> leftChanges, List<AbstractChangePackage> rightChanges)
conflictBuckets - a set of conflict candidatesnotInvolvedInConflict - a set of operations not involved in any conflictidToEObjectMapping - a mapping from IDs to EObjects and vice versa.ChangePackages
as well as those contained by the project in the ProjectSpaceleftChanges - a list of ChangePackages representing one side of the conflictrightChanges - a list of ChangePackages representing the other side of the conflictpublic ModelElementIdToEObjectMapping getIdToEObjectMapping()
ChangePackages
as well as those contained by the project in the ProjectSpacepublic ESConflictSet toAPI()
toAPI in interface APIDelegate<ESConflictSet>APIDelegate.toAPI()public ESConflictSetImpl createAPI()
createAPI in interface APIDelegate<ESConflictSet>APIDelegate.createAPI()public Set<AbstractOperation> getNotInvolvedInConflict()
public Set<ConflictBucket> getConflictBuckets()
public List<AbstractChangePackage> getLeftChanges()
ChangePackages representing one side of the conflict.ChangePackages representing one side of the conflictpublic List<AbstractChangePackage> getRightChanges()
ChangePackages representing the other side of the conflict.ChangePackages representing the other side of the conflictCopyright © 2017. All rights reserved.