Class ChangedShapeType

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

public final class ChangedShapeType extends AbstractDiffEvaluator
Creates an ERROR event when the type of a shape changes.
  • Constructor Details

    • ChangedShapeType

      public ChangedShapeType()
  • 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.