Interface IComparisonProcessSettings

  • All Known Implementing Classes:
    ComparisonProcessSettings

    public interface IComparisonProcessSettings
    Settings of a comparison process.
    • Method Detail

      • getMatchingStrategy

        MatchingStrategy getMatchingStrategy()
        Returns the MD object matching strategy.
        Returns:
        the MD object matching strategy
      • getCorrespondences

        List<ObjectsTriple<String>> getCorrespondences()
        Returns the list of explicit correspondences between main and other objects and their common ancestor (optional) that must be used in the process.
        Returns:
        the list of explicit correspondences as triple of strings, where the first string is the symbolic link of the main object, the second string is the symbolic link of the other object, the third string is the symbolic link of the ancestor object (optional). Main or other object (but not both) may be null, which means that the specified (non-null) object must be excluded from matching on the opposite side (if main non-null - other side is opposite, if other side non-null - main side is opposite). Ancestor object may be null, which means that main and other object do not have a correspondence with common ancestor side.
      • getMergeSettingsModel

        IMergeSettingsModel getMergeSettingsModel()
        Returns model of restored merge settings.
        Returns:
        merge settings model, can be null
      • isMergeWithInfobase

        boolean isMergeWithInfobase()
        Checks whether the compare/merge is with the infobase. The collection of the main side changed objects compared to the ancestor side should be specified.
        Returns:
        true if the object deletion is allowed for 2-way merge, false otherwise
      • getMainSideModifiedObjectsTrie

        IEObjectTrie getMainSideModifiedObjectsTrie()
        Returns the trie of main side modified (changed, added, deleted) objects compared to the ancestor side. It is actual for merge with infobase case.
        Returns:
        the trie of main side modified objects compared to the ancestor side, may be null if the trie wasn't specified
      • getOtherSideModifiedObjectsTrie

        IEObjectTrie getOtherSideModifiedObjectsTrie()
        Returns the trie of other side modified (changed, added, deleted) objects compared to the ancestor side. It is actual for merge with infobase case.
        Returns:
        the trie of other side modified objects compared to the ancestor side, may be null if the trie wasn't specified
      • isMainSideObjectsDeletionAllowed

        boolean isMainSideObjectsDeletionAllowed()
        Checks whether the main side object deletion is allowed.
        Returns:
        true if the main side object deletion is allowed, false otherwise
      • setRestoredMergeSettings

        void setRestoredMergeSettings​(RestoredMergeSettings restoredMergeSettings)
        Sets the restored merge settings. Only for initialization settings.
        Parameters:
        restoredMergeSettings - - container with restored merge settings, can be null
      • setIntegrationSettingsName

        void setIntegrationSettingsName​(String name)
        Sets the integration settings set name.
        Parameters:
        name - The name of the integration settings set. Can be null
      • setPlatformSupplySettingsFileName

        void setPlatformSupplySettingsFileName​(String fileName)
        Sets the platform supply settings file name.
        Parameters:
        fileName - The name of the file. Can be null
      • getIntegrationSettingsName

        String getIntegrationSettingsName()
        Gets the integration settings name.
        Returns:
        The name of integration settings set. Can be null
      • getPlatformSupplySettingsFileName

        String getPlatformSupplySettingsFileName()
        Gets the platform supply settings file name.
        Returns:
        The name of the file. Can be null
      • isParseBslModuleStructure

        boolean isParseBslModuleStructure()
        Tells whether to compare and merge a Bsl module with parsing module structure.
        Returns:
        true if compare and merge a Bsl module with parsing module structure, false otherwise
      • isMergeObjectsContent

        boolean isMergeObjectsContent()
        Checks is merge objects content only.
        Returns:
        true if merge objects content only, false otherwise
      • isAvoidExternalMergeToolSupport

        boolean isAvoidExternalMergeToolSupport()
        Tells whether to avoid the external merge tool support.
        Returns:
        true if avoid the external merge tool support, false otherwise