Class PurgeOldVersionUtils


  • public class PurgeOldVersionUtils
    extends Object
    • Constructor Detail

      • PurgeOldVersionUtils

        public PurgeOldVersionUtils()
    • Method Detail

      • getMillisFromString

        public static long getMillisFromString​(String strDate)
      • getNode

        public static NodeBuilder getNode​(@NotNull
                                          @NotNull NodeBuilder nodeBuilder,
                                          @NotNull
                                          @NotNull String path)
        Parameters:
        nodeBuilder -
        path - Path of node whose nodeBuilder object should be returned.
        Returns:
        nodeBuilder object of node at @param{path}
      • isBaseIndexEqual

        public static boolean isBaseIndexEqual​(String commandlineIndexPath,
                                               String repositoryIndexPath)
        Parameters:
        commandlineIndexPath -
        repositoryIndexPath -
        Returns:
        true if baseIndexName at commandlineIndexPath and repositoryIndexPath are equal
      • isIndexChildNode

        public static boolean isIndexChildNode​(String commandlineIndexPath,
                                               String repositoryIndexPath)
        Parameters:
        commandlineIndexPath -
        repositoryIndexPath -
        Returns:
        true if repositoryIndexPath is child of commandlineIndexPath