T - public abstract class AbstractChangeLog<T extends Operation> extends java.lang.Object implements ChangeLog
ChangeLog implementations maintains a list of operations
of type type T.| Constructor and Description |
|---|
AbstractChangeLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(T op)
Added an operation to the list of
operations. |
Batch |
apply(Batch batch)
This implementation applies each of the operation maintained by
this change log to the passed
batch. |
boolean |
equals(AbstractChangeLog<?> other) |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.String |
toString() |
addNode, addProperty, addProperty, move, remove, reorderNodes, setMixins, setPrimaryType, setTree, setValue, setValuepublic void addOperation(T op) throws RepositoryException
operations.op - Operation to addRepositoryExceptionpublic Batch apply(Batch batch) throws RepositoryException
batch.
Applies the Operations contained in this change log to
the passed batch.apply in interface ChangeLogbatch passed in as argument with the
operations from this change log applied.RepositoryExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic boolean equals(AbstractChangeLog<?> other)
public int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved