Class RemovedEntityBinding

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

public final class RemovedEntityBinding extends AbstractDiffEvaluator
A meta-validator that checks for the removal of an operation or resource binding from a service or resource.

A "RemovedOperationBinding" eventId is used when an operation is removed, and a "RemovedResourceBinding" eventId is used when a resource is removed.

  • Constructor Details

    • RemovedEntityBinding

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