Interface DiagramComparator
-
- All Known Implementing Classes:
DiagramComparatorImpl
@OpenApiAll public interface DiagramComparator
Base interface for comparing diagrams.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
compareDiagrams(java.util.Collection<DiagramPresentationElement> diagrams1, java.util.Collection<DiagramPresentationElement> diagrams2)
Compare two diagram presentations.java.lang.String
getDiffInfo()
Format textual information about differences found in compared diagrams.void
saveDiffToImageFiles(java.io.File file)
Save graphical diagram differences to the given file or directory.
-
-
-
Method Detail
-
compareDiagrams
boolean compareDiagrams(java.util.Collection<DiagramPresentationElement> diagrams1, java.util.Collection<DiagramPresentationElement> diagrams2)
Compare two diagram presentations.- Parameters:
diagrams1
- first diagram to compare.diagrams2
- second diagram to compare.- Returns:
- true if diagrams are equals.
-
getDiffInfo
java.lang.String getDiffInfo()
Format textual information about differences found in compared diagrams.- Returns:
- String information about differences in diagram.
-
saveDiffToImageFiles
void saveDiffToImageFiles(java.io.File file)
Save graphical diagram differences to the given file or directory.- Parameters:
file
- File or directory to save graphical differences to.
-
-