public interface OTOperation extends Comparable<OTOperation>
Modifier and Type | Method and Description |
---|---|
boolean |
apply(OTEntity entity) |
boolean |
apply(OTEntity entity,
boolean transiently) |
String |
getAgentId() |
OTOperation |
getBasedOn(int revision) |
OTEngine |
getEngine() |
int |
getEntityId() |
int |
getLastRevisionTx() |
List<Mutation> |
getMutations() |
OTOperation |
getOuterPath() |
int |
getRevision() |
String |
getRevisionHash() |
OpPair |
getTransformedFrom() |
void |
invalidate() |
boolean |
isCanon() |
boolean |
isNoop() |
boolean |
isResolvedConflict() |
boolean |
isValid() |
void |
markAsResolvedConflict() |
void |
removeFromCanonHistory() |
void |
setOuterPath(OTOperation outerPath) |
boolean |
shouldPropagate() |
void |
unmarkAsResolvedConflict() |
compareTo
int getEntityId()
int getRevision()
String getRevisionHash()
boolean shouldPropagate()
boolean apply(OTEntity entity)
boolean apply(OTEntity entity, boolean transiently)
OTEngine getEngine()
boolean isNoop()
OTOperation getBasedOn(int revision)
boolean isCanon()
boolean isResolvedConflict()
void removeFromCanonHistory()
void markAsResolvedConflict()
void unmarkAsResolvedConflict()
OpPair getTransformedFrom()
String getAgentId()
OTOperation getOuterPath()
void setOuterPath(OTOperation outerPath)
boolean isValid()
void invalidate()
int getLastRevisionTx()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.