Class RenamingObjectsRegistry

java.lang.Object
com._1c.g5.v8.dt.internal.merge.RenamingObjectsRegistry

public final class RenamingObjectsRegistry extends Object
The registry stores map of comparison nodes and actual symbolic links of objects from the MAIN side to be renamed during the merge process.
  • Constructor Details

    • RenamingObjectsRegistry

      public RenamingObjectsRegistry()
  • Method Details

    • getActualSymlink

      public String getActualSymlink(SymlinkComparisonNode node)
      Returns actual symlink of the object after renaming for the specified comparison node.
      Parameters:
      node - the comparison node related to the object to get actual symlink for, cannot be null
      Returns:
      the actual symlink or null if there is no object from the MAIN side
    • registerActualSymlink

      public void registerActualSymlink(SymlinkComparisonNode node, String actualSymlink)
      Registers new symlink of the renaming object for the specified top comparison node.
      Parameters:
      node - the top comparison node related to the renaming object, cannot be null
      actualSymlink - the actual object's symlink, cannot be null or empty