A class that will compare two different Lists of objects. It will return a
ComparisonResult
that will supplied configurations into the following groups:
- Model elements that are present in the first list only
- Model elements that are present in the second list only
- Model elements that are present in the both list and the same in both Configurations
- Model elements that are present in the both list but the Configurations differ (but with the same ID)
When comparing the
Flag
and
TargetGroup
models, we use the ID field to determine whether it has changed between one object and
the other