Class ChangedNullability

All Implemented Interfaces:

public class ChangedNullability extends AbstractDiffEvaluator
Validates that only backward compatible changes are made to structure member nullability to ensure that if something was previously nullable to clients then it continue to be nullable and vice versa.
  • Constructor Details

    • ChangedNullability

      public ChangedNullability()
  • 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.
      differences - Detected differences.
      Returns validation events that are relative to the new model.