Class ServiceRename

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

public final class ServiceRename extends AbstractDiffEvaluator
Creates an ERROR event when a shape is renamed that was already part of the service, when a rename changes for a shape, or when a rename is removed for a shape.
  • Constructor Details

    • ServiceRename

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