Class TraitBreakingChange

java.lang.Object
software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
software.amazon.smithy.diff.evaluators.TraitBreakingChange
All Implemented Interfaces:
DiffEvaluator

public final class TraitBreakingChange extends AbstractDiffEvaluator
Finds breaking changes related to when a trait is added, removed, or updated based on the breakingChanges property of traits.
  • Constructor Details

    • TraitBreakingChange

      public TraitBreakingChange()
  • Method Details

    • evaluate

      public 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.