|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl<ESConflict,ConflictBucket> org.eclipse.emf.emfstore.internal.server.impl.api.ESConflictImpl
public class ESConflictImpl
Mapping between ESConflict
and ConflictBucket
.
Constructor Summary | |
---|---|
ESConflictImpl(ConflictBucket internalType)
Constructs a new instance by wrapping a ConflictBucket . |
Method Summary | |
---|---|
Set<ESOperation> |
getLocalOperations()
The involved local operations. |
Set<ESOperation> |
getRemoteOperations()
The involved remote operations. |
void |
resolveConflict(Set<ESOperation> acceptedLocalOperations,
Set<ESOperation> rejectedRemoteOperations)
Resolve the conflict by accepting the given local operations and rejecting the given remote operations. |
Methods inherited from class org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl |
---|
equals, hashCode, toInternalAPI |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ESConflictImpl(ConflictBucket internalType)
ConflictBucket
.
internalType
- the internal objectMethod Detail |
---|
public Set<ESOperation> getLocalOperations()
getLocalOperations
in interface ESConflict
ESConflict.getLocalOperations()
public Set<ESOperation> getRemoteOperations()
getRemoteOperations
in interface ESConflict
ESConflict.getRemoteOperations()
public void resolveConflict(Set<ESOperation> acceptedLocalOperations, Set<ESOperation> rejectedRemoteOperations)
resolveConflict
in interface ESConflict
acceptedLocalOperations
- a list of local accepted operationsrejectedRemoteOperations
- a list of rejected remote operationsESConflict.resolveConflict(java.util.Set, java.util.Set)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |