Class MoveTracker
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.commit.MoveTracker
-
public class MoveTracker extends java.lang.ObjectUtility to keep track of the move operations that are performed between two calls toRoot.commit(java.util.Map<java.lang.String, java.lang.Object>).
-
-
Constructor Summary
Constructors Constructor Description MoveTracker()Create a newMoveTracker
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMove(@NotNull java.lang.String sourcePath, @NotNull java.lang.String destPath)voidclear()booleancontainsMove(@Nullable java.lang.String path)@Nullable java.lang.StringgetDestPath(java.lang.String sourcePath)@Nullable java.lang.StringgetSourcePath(java.lang.String destPath)booleanisEmpty()
-
-
-
Method Detail
-
addMove
public void addMove(@NotNull @NotNull java.lang.String sourcePath, @NotNull @NotNull java.lang.String destPath)
-
isEmpty
public boolean isEmpty()
-
getSourcePath
@Nullable public @Nullable java.lang.String getSourcePath(java.lang.String destPath)
-
getDestPath
@Nullable public @Nullable java.lang.String getDestPath(java.lang.String sourcePath)
-
containsMove
public boolean containsMove(@Nullable @Nullable java.lang.String path)
-
clear
public void clear()
-
-