T
- public abstract class AbstractChangeLog<T extends Operation> extends Object implements ChangeLog
ChangeLog
implementations maintains a list of operations
of type type T
.Modifier and Type | Field and Description |
---|---|
protected List<T> |
operations
Operation s kept in this change log. |
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(Object other) |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addNode, addProperty, addProperty, move, remove, reorderNodes, setMixins, setPrimaryType, setTree, setValue, setValue
public void addOperation(T op) throws javax.jcr.RepositoryException
operations
.op
- Operation
to addjavax.jcr.RepositoryException
public Batch apply(Batch batch) throws javax.jcr.RepositoryException
batch
.
Applies the Operation
s contained in this change log to
the passed batch
.public boolean equals(AbstractChangeLog<?> other)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.