Class ChangedOperationOutput

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

public final class ChangedOperationOutput extends AbstractDiffEvaluator
Emits an ERROR when the output shape of an operation is changed to another shape.
  • Constructor Details

    • ChangedOperationOutput

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