public class DefaultReqEngine extends Object implements IReqEngine
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. TODO to test on XSD models for FeatureMapsConstructor and Description |
---|
DefaultReqEngine() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkForRequiredDifferences(Comparison comparison,
Diff difference)
Checks the potential required differences from the given
difference . |
void |
computeRequirements(Comparison comparison,
Monitor monitor)
This is the entry point of the requirements computing process.
|
public void computeRequirements(Comparison comparison, Monitor monitor)
It will complete the input comparison
by iterating over the
differences
it contains, filling in the requirements it can detect
for each distinct Diff.
computeRequirements
in interface IReqEngine
comparison
- The comparison this engine is expected to complete.monitor
- The monitor to report progress or to check for cancellationIReqEngine.computeRequirements(Comparison, Monitor)
protected void checkForRequiredDifferences(Comparison comparison, Diff difference)
difference
.comparison
- The comparison this engine is expected to complete.difference
- The difference that is to be checked
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.