Class AddedEntityBinding

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

public final class AddedEntityBinding extends AbstractDiffEvaluator
A meta-validator that emits a NOTE when an operation resource is added to a service or resource entity.

An "AddedOperationBinding" eventId is used when an operation is added, and an "AddedResourceBinding" eventId is used when a resource is added.

  • Constructor Details

    • AddedEntityBinding

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