Class TraitBreakingChange

  • All Implemented Interfaces:
    DiffEvaluator

    public final class TraitBreakingChange
    extends AbstractDiffEvaluator
    Finds breaking changes related to when a trait is added, removed, or updated based on the breakingChanges property of traits.
    • Constructor Detail

      • TraitBreakingChange

        public TraitBreakingChange()
    • Method Detail

      • evaluate

        public java.util.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.