|Ignoring Elements completely in custom Match and Diff Engine [message #901012]
||Thu, 09 August 2012 11:59
| Benjamin Klatt
Registered: September 2010
I am working on a custmization to compare java models discovered using the MoDisco tooling.
Such models can contain class declarations etc. from packages which I am not interested in. So I would like to ignore all elements and possible changes from classes, interfaces, etc. in those packages.
Up to know, I implemented such a filter in the processUnmatchedElements() of a custom DiffEngine extending the GenericDiffEngine.
I also handle those elements within a custom MatchEngine and there are other methods in the custom DiffEngine I will have to adapt to filter diffs of JavaModel elements from specific packages.
However, I was wondering if there is a method I could adapt to specify model elements which should be completely ignored to
1) not have to implement filters in a lot of methods scattered around the code
2) improve performance by filtering them right at the beginning of the process.
Thanks a lot
Powered by FUDForum
. Page generated in 0.12141 seconds