Package software.amazon.smithy.diff
Interface DiffEvaluator
- 
- All Known Implementing Classes:
 AbstractDiffEvaluator,AddedEntityBinding,AddedMetadata,AddedOperationError,AddedOperationInputOutput,AddedShape,AddedTraitDefinition,ChangedEnumTrait,ChangedLengthTrait,ChangedMemberOrder,ChangedMemberTarget,ChangedMetadata,ChangedOperationInput,ChangedOperationOutput,ChangedRangeTrait,ChangedResourceIdentifiers,ChangedShapeType,ModifiedTrait,RemovedAuthenticationScheme,RemovedEntityBinding,RemovedMetadata,RemovedOperationError,RemovedOperationInput,RemovedOperationOutput,RemovedShape,RemovedTraitDefinition
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
@FunctionalInterface public interface DiffEvaluatorInterface used to evaluate two models and their normalized differences and returnValidationEvents 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. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ValidationEvent>evaluate(Differences differences)Returns validation events given two models and the detected differences between them. 
 - 
 
- 
- 
Method Detail
- 
evaluate
java.util.List<ValidationEvent> evaluate(Differences differences)
Returns validation events given two models and the detected differences between them.- Parameters:
 differences- Detected differences.- Returns:
 - Returns validation events that are relative to the new model.
 
 
 - 
 
 -