@FunctionalInterface
public interface DiffEvaluator
ValidationEvent
s that are relative to
the new model.
For example, a ValidationEvent is emitted when an operation is removed from a service or resource.
Implementations of this interface are found using Java SPI and
automatically applied to the detected differences when creating a
ModelDiff
.
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationEvent> |
evaluate(Differences differences)
Returns validation events given two models and the detected
differences between them.
|
java.util.List<ValidationEvent> evaluate(Differences differences)
differences
- Detected differences.