Interface ModelComparator
-
@OpenApiAll public interface ModelComparator
Base interface for model comparing used by ProjectsComparator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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.java.lang.String
getDiffInfo()
Textual information about differences found in compared projects.
-
-
-
Method Detail
-
compareModels
boolean compareModels(Project p1, Project p2)
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
java.lang.String getDiffInfo()
Textual information about differences found in compared projects.- Returns:
- String representing differences found in compared projects
-
addFilter
void addFilter(ModelComparatorFilter filter)
Adds filter for skipping unnecessary model elements during models comparison.- Parameters:
filter
- model element filter to add
-
-