Interface ModelComparator
@OpenApiAll
public interface ModelComparator
Base interface for model comparing used by ProjectsComparator.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFilter
(ModelComparatorFilter filter) Adds filter for skipping unnecessary model elements during models comparison.boolean
compareModels
(Project p1, Project p2) Check if models of two given MagicDraw projects are equals.Textual information about differences found in compared projects.
-
Method Details
-
compareModels
Check if models of two given MagicDraw projects are equals.- Parameters:
p1
- first MagicDraw projectp2
- second MagicDraw project- Returns:
- true if models of compared projects are equals
-
getDiffInfo
String getDiffInfo()Textual information about differences found in compared projects.- Returns:
- String representing differences found in compared projects
-
addFilter
Adds filter for skipping unnecessary model elements during models comparison.- Parameters:
filter
- model element filter to add
-