Package com._1c.g5.v8.dt.internal.merge
Class RenamingObjectsRegistry
java.lang.Object
com._1c.g5.v8.dt.internal.merge.RenamingObjectsRegistry
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns actual symlink of the object after renaming for the specified comparison node.void
registerActualSymlink
(SymlinkComparisonNode node, String actualSymlink) Registers new symlink of the renaming object for the specified top comparison node.
-
Constructor Details
-
RenamingObjectsRegistry
public RenamingObjectsRegistry()
-
-
Method Details
-
getActualSymlink
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 benull
- Returns:
- the actual symlink or
null
if there is no object from the MAIN side
-
registerActualSymlink
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 benull
actualSymlink
- the actual object's symlink, cannot benull
or empty
-