@Override
public void contentChanged(@Nonnull NodeState root, @Nullable CommitInfo info) {
if (previousRoot != null) {
try {
FilterProvider provider = filterProvider.get();
// FIXME don't rely on toString for session id
if (provider.includeCommit(contentSession.toString(), info)) {
String basePath = provider.getPath();
EventFilter userFilter = provider.getFilter(previousRoot, root);
EventFilter acFilter = new ACFilter(previousRoot, root, permissionProvider, basePath);
EventQueue events = new EventQueue(
namePathMapper, info, previousRoot, root, basePath,
Filters.all(userFilter, acFilter));
if (events.hasNext() && runningMonitor.enterIf(running)) {