]> gerrit.simantics Code Review - simantics/platform.git/blob - ChangeVisitor.java
6d11ed7d7aca3dfd5c5ee27fa777da9e10997ff6
[simantics/platform.git] / ChangeVisitor.java
1 package org.simantics.db.layer0.changeset;
2
3 import org.simantics.db.ReadGraph;
4 import org.simantics.db.exception.DatabaseException;
5 import org.simantics.db.layer0.genericrelation.DependencyChanges.Change;
6
7 public interface ChangeVisitor {
8     /**
9      * {@link MetadataUtils#visitDependencyChangesBetween}
10      * calls this method for every change found between given range.
11      * The flag {@code inverted} tells whether the change is actually
12      * undone instead of done.
13      */
14     void visit(ReadGraph graph, Change change, boolean inverted) throws DatabaseException;
15 }