Class AddedTraitDefinition
- java.lang.Object
-
- software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
-
- software.amazon.smithy.diff.evaluators.AddedTraitDefinition
-
- All Implemented Interfaces:
DiffEvaluator
public final class AddedTraitDefinition extends AbstractDiffEvaluator
Creates a NOTE event when a trait definition is added.
-
-
Constructor Summary
Constructors Constructor Description AddedTraitDefinition()
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
danger, danger, error, error, getEventId, note, note, warning, warning
-
-
-
-
Method Detail
-
evaluate
public java.util.List<ValidationEvent> evaluate(Differences differences)
Description copied from interface:DiffEvaluator
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.
-
-