Class AddedServiceError

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

public final class AddedServiceError extends AbstractDiffEvaluator
Emits a warning when an error is added to a service.
  • Constructor Details

    • AddedServiceError

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