public final class DifferenceAnalyzer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DifferenceAnalyzer.ComparableReqIFFiles
Class wrapper for two
ReqIFFile objects to be used in comparison scenarios |
| Constructor and Description |
|---|
DifferenceAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
analyzeDifferences(ReqIFArchive reqIFArchive1,
ReqIFArchive reqIFArchive2,
java.util.function.Consumer<Difference> differenceConsumer)
This method analyzes the differences between the 1st
ReqIFArchive and the 2nd
ReqIFArchive. |
static void |
analyzeDifferences(ReqIFFile reqIFFile1,
ReqIFFile reqIFFile2,
java.util.function.Consumer<Difference> differenceConsumer)
This method analyzes the differences between the 1st
ReqIFFile and the 2nd
ReqIFFile. |
static java.util.List<DifferenceAnalyzer.ComparableReqIFFiles> |
getComparableReqIFFilesList(ReqIFArchive reqIFArchive1,
ReqIFArchive reqIFArchive2)
Compiles a
DifferenceAnalyzer.ComparableReqIFFiles object from the two specified ReqIFArchive objects |
static boolean |
isSameReqIFFile(ReqIFFile reqIFFile1,
ReqIFFile reqIFFile2)
Compares two
ReqIFFile. |
public static void analyzeDifferences(ReqIFArchive reqIFArchive1, ReqIFArchive reqIFArchive2, java.util.function.Consumer<Difference> differenceConsumer) throws DifferenceAnalyzerException
ReqIFArchive and the 2nd
ReqIFArchive.reqIFArchive1 - the first archive ReqIFArchive, not nullreqIFArchive2 - the second archive ReqIFArchive, not nulldifferenceConsumer - a consumer of Difference objects, not nullDifferenceAnalyzerException - if no comparable files.public static java.util.List<DifferenceAnalyzer.ComparableReqIFFiles> getComparableReqIFFilesList(ReqIFArchive reqIFArchive1, ReqIFArchive reqIFArchive2)
DifferenceAnalyzer.ComparableReqIFFiles object from the two specified ReqIFArchive objectsreqIFArchive1 - the first archive, not nullreqIFArchive2 - the second archive, not nullComparableReqIFFiles collection, not nullpublic static boolean isSameReqIFFile(ReqIFFile reqIFFile1, ReqIFFile reqIFFile2)
reqIFFile1 - the first ReqIFFile to check, not nullreqIFFile2 - the second ReqIFFile to check, not nullReqIFFile objects are relatedpublic static void analyzeDifferences(ReqIFFile reqIFFile1, ReqIFFile reqIFFile2, java.util.function.Consumer<Difference> differenceConsumer) throws DifferenceAnalyzerException
ReqIFFile and the 2nd
ReqIFFile.reqIFFile1 - the first ReqIFFile to check, not nullreqIFFile2 - the second ReqIFFile to check, not nulldifferenceConsumer - a Consumer of Difference objects, not nullDifferenceAnalyzerException - if the ReqIFFile objects are not related in the sense that boolean would return True