Class DefaultEquiEngine

  • All Implemented Interfaces:
    IEquiEngine

    public class DefaultEquiEngine
    extends Object
    implements IEquiEngine
    The requirements engine is in charge of actually computing the equivalences between the differences.

    This default implementation aims at being generic enough to be used for any model, whatever the metamodel. However, specific requirements might be necessary.

    TODO document available extension possibilities.
    • Constructor Detail

      • DefaultEquiEngine

        public DefaultEquiEngine()
    • Method Detail

      • checkForEquivalences

        protected void checkForEquivalences​(Comparison comparison,
                                            Diff difference)
        Checks the potential equivalence from the given difference.
        Parameters:
        comparison - The comparison this engine is expected to complete.
        difference - The difference that is to be checked
      • checkForEquivalences

        protected void checkForEquivalences​(Comparison comparison,
                                            ReferenceChange referenceChange)
        Checks the potential equivalence from the given difference.
        Parameters:
        comparison - The comparison this engine is expected to complete.
        referenceChange - The difference that is to be checked
      • checkForEquivalences

        protected void checkForEquivalences​(Comparison comparison,
                                            FeatureMapChange featureMapChange)
        Checks the potential equivalence from the given difference.
        Parameters:
        comparison - The comparison this engine is expected to complete.
        featureMapChange - The difference that is to be checked
        Since:
        3.2