Class MoveTracker
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.commit.MoveTracker
-
public class MoveTracker extends java.lang.Object
Utility 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 void
addMove(@NotNull java.lang.String sourcePath, @NotNull java.lang.String destPath)
void
clear()
boolean
containsMove(@Nullable java.lang.String path)
@Nullable java.lang.String
getDestPath(java.lang.String sourcePath)
@Nullable java.lang.String
getSourcePath(java.lang.String destPath)
boolean
isEmpty()
-
-
-
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()
-
-