Class MoveTracker

java.lang.Object
org.apache.jackrabbit.oak.spi.commit.MoveTracker

public class MoveTracker extends Object
Utility to keep track of the move operations that are performed between two calls to Root.commit(java.util.Map<java.lang.String, java.lang.Object>).
  • Constructor Details

    • MoveTracker

      public MoveTracker()
      Create a new MoveTracker
  • Method Details

    • addMove

      public void addMove(@NotNull @NotNull String sourcePath, @NotNull @NotNull String destPath)
    • isEmpty

      public boolean isEmpty()
    • getSourcePath

      @Nullable public @Nullable String getSourcePath(String destPath)
    • getDestPath

      @Nullable public @Nullable String getDestPath(String sourcePath)
    • containsMove

      public boolean containsMove(@Nullable @Nullable String path)
    • clear

      public void clear()