public class PurgeOldVersionUtils extends Object
| Constructor and Description |
|---|
PurgeOldVersionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getMillisFromString(String strDate) |
static org.apache.jackrabbit.oak.spi.state.NodeBuilder |
getNode(@NotNull org.apache.jackrabbit.oak.spi.state.NodeBuilder nodeBuilder,
@NotNull String path) |
static boolean |
isBaseIndexEqual(String commandlineIndexPath,
String repositoryIndexPath) |
static boolean |
isIndexChildNode(String commandlineIndexPath,
String repositoryIndexPath) |
static void |
recursiveDeleteHiddenChildNodes(org.apache.jackrabbit.oak.spi.state.NodeStore store,
String path) |
public static final String OAK_INDEX
public static long getMillisFromString(String strDate)
public static org.apache.jackrabbit.oak.spi.state.NodeBuilder getNode(@NotNull @NotNull org.apache.jackrabbit.oak.spi.state.NodeBuilder nodeBuilder, @NotNull @NotNull String path)
nodeBuilder - path - Path of node whose nodeBuilder object should be returned.public static void recursiveDeleteHiddenChildNodes(org.apache.jackrabbit.oak.spi.state.NodeStore store, String path) throws org.apache.jackrabbit.oak.api.CommitFailedException
store - path - org.apache.jackrabbit.oak.api.CommitFailedException - recursively deletes child nodes under pathpublic static boolean isBaseIndexEqual(String commandlineIndexPath, String repositoryIndexPath)
commandlineIndexPath - repositoryIndexPath - Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.