use of org.apache.jackrabbit.oak.plugins.document.spi.JournalProperty in project jackrabbit-oak by apache.
the class JournalPropertyHandler method readFrom.
public void readFrom(CommitInfo info) {
CommitContext commitContext = (CommitContext) info.getInfo().get(CommitContext.NAME);
//that it may miss out on some data collection
if (commitContext == null) {
for (JournalPropertyBuilder<?> builder : builders.values()) {
builder.addProperty(null);
}
return;
}
for (Map.Entry<String, JournalPropertyBuilder<JournalProperty>> e : builders.entrySet()) {
JournalPropertyBuilder<JournalProperty> builder = e.getValue();
builder.addProperty(getEntry(commitContext, e.getKey()));
}
}
Aggregations