Class 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 Detail

      • MoveTracker

        public MoveTracker()
        Create a new MoveTracker
    • Method Detail

      • 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()